Learn R Programming

phreeqc (version 3.8.7)

phrGetLogFileName: Retrieve the name of the log file.

Description

Retrieves the name of the log file. The default name is phreeqc.0.log.

Usage

phrGetLogFileName()

Arguments

Value

The name of the log file as a string.

References

https://water.usgs.gov/water-resources/software/PHREEQC/IPhreeqc.pdf

See Also

Other Log: phrGetLogFileOn(), phrGetLogStrings(), phrGetLogStringsOn(), phrSetLogFileName(), phrSetLogFileOn(), phrSetLogStringsOn()

Examples

Run this code

# This example checks to see if the log file is turned on
# and prints the appropriate message
if (phrGetLogFileOn()) {
  cat("The name of the log file (is/will be):", phrGetLogFileName(), "\n")
} else {
  cat("The log file is not turned on\n")
}

Run the code above in your browser using DataLab