phrGetLogStrings | R Documentation |
Retrieves the string buffer containing phreeqc log output.
phrGetLogStrings()
A character vector containing phreeqc log output.
https://water.usgs.gov/water-resources/software/PHREEQC/IPhreeqc.pdf
Other Log:
phrGetLogFileName()
,
phrGetLogFileOn()
,
phrGetLogStringsOn()
,
phrSetLogFileName()
,
phrSetLogFileOn()
,
phrSetLogStringsOn()
# This example equilibrates pure water with gypsum with the output file on.
phrLoadDatabaseString(phreeqc.dat)
phrSetLogStringsOn(TRUE)
input <- vector(mode="character")
input <- c(input, "SOLUTION 1 Pure water ")
input <- c(input, "EQUILIBRIUM_PHASES 1 ")
input <- c(input, " Gypsum 0 10 ")
input <- c(input, "KNOBS ")
input <- c(input, " -logfile TRUE ")
if (is.null(phrRunString(input))) {
log <- phrGetLogStrings()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.