phrLoadDatabase | R Documentation |
Loads the given phreeqc database into phreeqc. Returns NULL if successful.
phrLoadDatabase(filename)
filename |
The name of the database file. |
This function returns NULL.
https://water.usgs.gov/water-resources/software/PHREEQC/IPhreeqc.pdf
Other Load Database:
phrLoadDatabaseString()
# create temporary database file
tf <- tempfile()
writeLines(phreeqc.dat, tf)
if (is.null(phrLoadDatabase(tf))) {
cat("database ok\n")
} else {
cat("database contains errors\n")
}
# delete temporary database file
unlink(tf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.