phrSetLogStringsOn | R Documentation |
Sets the log strings switch on or off. This switch controls whether or not the data normally sent to the log file are stored in a buffer for retrieval. The initial setting is off.
phrSetLogStringsOn(value)
value |
if TRUE, captures output normally sent to the log file into a buffer. |
https://water.usgs.gov/water-resources/software/PHREEQC/IPhreeqc.pdf
Other Log:
phrGetLogFileName()
,
phrGetLogFileOn()
,
phrGetLogStrings()
,
phrGetLogStringsOn()
,
phrSetLogFileName()
,
phrSetLogFileOn()
# This example runs ex2 with log strings turned on.
phrLoadDatabaseString(phreeqc.dat)
phrSetLogStringsOn(TRUE)
# turn logging on
phrAccumulateLine("KNOBS; -logfile true")
phrRunAccumulated()
if (is.null(phrRunString(ex2))) {
cat(phrGetLogStrings(), sep = "\n")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.