Commit 05d337ff authored by Marco De Lucia's avatar Marco De Lucia
Browse files

Merge branch 'master' of git.gfz-potsdam.de:delucia/RedModRphree

parents 339592fe 8e9df171
* RedModRphree * RedModRphree
This package serves as test bed for the developments about surrogate This package serves as test bed for the developments about surrogate
models and reactive transport in the framework of the RedMod project. models and reactive transport in the framework of the RedMod project.
It includes a number of utility functions to efficiently work with
PHREEQC, for which we use the =phreeqc= R package from USGS, trying
to keep at minimum the external dependencies.
*** Installation *** Installation
In R, the quickest way is to install the package =devtools= and install In R, the quickest way is to install the package =devtools= and install
RedModRphree directly from this repository: RedModRphree directly from this repository (=git= must be installed already on your system):
#+begin_example #+begin_example
## if you need to install devtools, just type in the R command line:
## install.packages("devtools")
library(devtools) library(devtools)
install_gitlab("delucia/RedModRphree", host="https://git.gfz-potsdam.de") install_gitlab("delucia/RedModRphree", host="https://git.gfz-potsdam.de")
#+end_example #+end_example
To install in a specific directory (which R must know about, e.g., Optional: to install the package in a specific directory (which R must know about, e.g.,
specifying the variable R_LIBS_USER in the file =$HOME/.Renviron=: specifying the variable R_LIBS_USER in the file =$HOME/.Renviron=:
#+begin_src shell #+begin_src shell
R_LIBS_USER="~/MyRPackageDir" R_LIBS_USER="~/MyRPackageDir"
#+end_src #+end_src
then: then, in R:
#+begin_example #+begin_example
devtools::install_gitlab("delucia/RedModRphree", host="https://git.gfz-potsdam.de", lib="~/MyRPackageDir") devtools::install_gitlab("delucia/RedModRphree", host="https://git.gfz-potsdam.de", lib="~/MyRPackageDir")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment