phrLoadDatabaseString: Load a phreeqc database as a string or a list of strings.

Description Usage Arguments Details Value References See Also Examples

View source: R/phreeqc.R

Description

Load the specified string(s) as a database into phreeqc. Returns NULL if successful.

Usage

1

Arguments

input

String containing data to be used as the phreeqc database.

Details

All previous definitions are cleared.

Value

This function returns NULL.

References

ftp://brrftp.cr.usgs.gov/pub/charlton/iphreeqc/IPhreeqc.pdf

See Also

Other Load Database: phrLoadDatabase

Examples

1
2
3
4
5
6
7
8
# this example loads the phreeqc.dat database, turns on the
# output file and runs ex2 as a string
phrLoadDatabaseString(phreeqc.dat)
phrSetOutputFileOn(TRUE)
phrSetOutputFileName(file.path(tempdir(), "ex2.load-database.out"))
if (is.null(phrRunString(ex2))) {
  cat(paste("see ", phrGetOutputFileName(), ".\n", sep = ""))
}

phreeqc documentation built on July 1, 2020, 11:46 p.m.