Retrieve warning messages.
Returns a character vector containing any warning messages that were
generated during the last invocation of the following methods:
phrAccumulateLine
, phrLoadDatabase
,
phrLoadDatabaseString
, phrRunAccumulated
,
phrRunFile
, phrRunString
.
phrGetWarningStrings()
A NULL value is returned if there are no warnings.
A character vector containing warning messages or NULL.
# This example loads the phreeqc.dat database and attempts to use the # DATABASE keyword to set the database to wateq4f.dat. A warning is # displayed stating that the DATABASE keyword is ignored in the 'R' # implementation. phrLoadDatabaseString(phreeqc.dat) phrAccumulateLine("DATABASE wateq4f.dat") phrAccumulateLine("SOLUTION 1") phrRunAccumulated() if (!is.null(phrGetWarningStrings())) { cat(phrGetWarningStrings(), sep = "\n") }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.