iphreeqc/R/phreeqc/man/phrLoadDatabase.Rd
Scott R Charlton 9bbc3aa629 updating docs
git-svn-id: svn://136.177.114.72/svn_GW/IPhreeqc/trunk@8433 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2014-02-05 07:17:50 +00:00

37 lines
752 B
R

\name{phrLoadDatabase}
\alias{phrLoadDatabase}
\title{Load a phreeqc database file}
\description{
Loads a phreeqc database into the IPhreeqcCOM object. Returns NULL if successful.
}
\usage{
phrLoadDatabase(filename)
}
\arguments{
\item{filename}{The file name of the database.}
} %END arguments
\value{
This function returns NULL.
}
\references{
Literature references and web URLs can go here.
}
\author{
Scott Charlton \email{charlton@usgs.gov}
}
\seealso{
\code{\link{phrLoadDatabaseString}}
}
\examples{
# This will only work if phreeqc/phreeqc.dat is in the current directory
if (is.null(phrLoadDatabase("phreeqc/phreeqc.dat"))) {
cat("database ok\n")
} else {
cat("database contains errors\n")
}
}
\keyword{interface}