PhreeqcUsers Discussion Forum
Click here to donate to keep PhreeqcUsers open

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 

  • Forum Home
  • Login
  • Register

  • PhreeqcUsers Discussion Forum »
  • Beginners »
  • PHREEQC basics »
  • PHREEQC in R ( phreeqc Package )
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: PHREEQC in R ( phreeqc Package )  (Read 428 times)

azzeddine

  • Contributor
  • Posts: 1
PHREEQC in R ( phreeqc Package )
« on: January 24, 2022, 05:00:18 AM »
welcome everybody

I am new to using PHREEQC
However, I use r programming
Are there resources on how to use PHREEQC using R language?

Please Help

Best
Logged

dlparkhurst

  • Top Contributor
  • Posts: 2736
Re: PHREEQC in R ( phreeqc Package )
« Reply #1 on: February 16, 2022, 09:33:04 PM »
I think the R version of phreeqc has been removed from CRAN due to an intermittent memory error that we cannot find. However, I think you can download a previous version.

There is documentation within the R package for all of the methods that are available, and all of the examples from the manual are available in the R documentation.
Logged

quetzal

  • Contributor
  • Posts: 1
Re: PHREEQC in R ( phreeqc Package )
« Reply #2 on: March 23, 2022, 09:34:05 AM »
Just to provide a short explanation on how to install the old R package (using R 4.1.0) and save other users some googling:

You need Rtools installed, if you haven't, run the following:

Code: [Select]
install.packages("installr")
installr::install.Rtools()

Next you need to install the old version of phreeqc, you can do this with the "remotes" package.

Code: [Select]
install.packages("remotes")
remotes::install_version("phreeqc", "3.6.3")
Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Beginners »
  • PHREEQC basics »
  • PHREEQC in R ( phreeqc Package )
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2