phrGetErrorStrings | R Documentation |
Retrieves a character vector containing any error messages that were generated
during the last invocation of the following methods:
phrAccumulateLine
, phrLoadDatabase
,
phrLoadDatabaseString
, phrRunAccumulated
,
phrRunFile
, phrRunString
phrGetErrorStrings()
This routine is rarely needed when running interactively since the error string is displayed when it occurs.
The error messages as a character vector.
https://water.usgs.gov/water-resources/software/PHREEQC/IPhreeqc.pdf
Other Error:
phrGetErrorFileName()
,
phrGetErrorFileOn()
,
phrGetErrorStringsOn()
,
phrSetErrorFileName()
,
phrSetErrorFileOn()
,
phrSetErrorStringsOn()
# loaddatabase should fail
n <- try(phrLoadDatabase("missing.dat"), silent = TRUE)
# if n is non-NULL display error string
if (!is.null(n)) phrGetErrorStrings()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.