phrRunFile | R Documentation |
phrRunFile executes a phreeqc run using a file as input
phrRunFile(filename)
filename |
The file name of the phreeqc input file. |
This function returns NULL on success.
https://water.usgs.gov/water-resources/software/PHREEQC/IPhreeqc.pdf
Other Run:
phrRunAccumulated()
,
phrRunString()
# 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.