phrLoadDatabaseString | R Documentation |
Load the specified string(s) as a database into phreeqc. Returns NULL if successful.
phrLoadDatabaseString(input)
input |
String containing data to be used as the phreeqc database. |
All previous definitions are cleared.
This function returns NULL.
https://water.usgs.gov/water-resources/software/PHREEQC/IPhreeqc.pdf
Other Load Database:
phrLoadDatabase()
# 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 = ""))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.