Learn R Programming

phreeqc (version 3.8.7)

phrGetComponentList: Retrieve a list containing the current list of components.

Description

Retrieve a list containing the current list of components.

Usage

phrGetComponentList()

Arguments

Value

A list containing the names of the components defined in the current system.

References

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

Examples

Run this code

# This example runs the ex2 input file and echos the list of components.
phrLoadDatabaseString(phreeqc.dat)
phrRunString(ex2)
cat("components:\n")
for (comp in phrGetComponentList()) {
  cat(comp, "\n")
}

Run the code above in your browser using DataLab