Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

phrRunFile

Run phreeqc input file


Description

phrRunFile executes a phreeqc run using a file as input

Usage

phrRunFile(filename)

Arguments

filename

The file name of the phreeqc input file.

Value

This function returns NULL on success.

References

See Also

Examples

# load the phreeqc.dat database
phrLoadDatabaseString(phreeqc.dat)

# create ex2 if it doesn't exist
if (!file.exists("ex2")) writeLines(ex2, "ex2")

# run ex2
if (is.null(phrRunFile("ex2"))) {
  cat("use phrGetSelectedOutput() to see results.\n")
}

unlink("ex2")  # tidy up

phreeqc

R Interface to Geochemical Modeling Software

v3.6.3
GPL-3
Authors
S.R. Charlton, D.L. Parkhurst, and C.A.J. Appelo, with contributions from D. Gillespie for Chipmunk BASIC and S.D. Cohen, A.C. Hindmarsh, R. Serban, D. Shumaker, and A.G. Taylor for CVODE/SUNDIALS
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.