Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doku:r-project [2013/06/25 06:27] – external edit 127.0.0.1 | doku:r-project [2016/10/14 06:15] (current) – markus | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Compilation | + | ==== Installation |
- | === Version 3.0.1 on VSC-1 === | + | Users can have their own R packages installed. The following steps have to be done: |
- | < | + | - Create a .Renviron file, using ' |
- | umask 0022 | + | vi ${HOME}/ |
- | export LD_LIBRARY_PATH= | + | </ |
- | source | + | R_LIBS=${HOME}/R/lib |
+ | </code> | ||
+ | - create the directory, which was specified in .Renviron: < | ||
+ | mkdir -p ${HOME}/R/lib </ | ||
+ | - start R and install packages: < | ||
+ | install.packages(' | ||
+ | </ | ||
- | export CC=icc | ||
- | export CXX=icpc | ||
- | export FC=ifort | ||
- | export F77=ifort | ||
- | |||
- | export FFLAGS=" | ||
- | export CFLAGS=" | ||
- | export CXXFLAGS=" | ||
- | export FCFLAGS=" | ||
- | |||
- | MKL_LIB_PATH=/ | ||
- | |||
- | |||
- | export SHLIB_LDFLAGS=" | ||
- | export MAIN_LDFLAGS=" | ||
- | MKL=" -L${MKL_LIB_PATH} | ||
- | -Wl, | ||
- | | ||
- | | ||
- | | ||
- | -Wl, | ||
- | -lgomp -lpthread" | ||
- | export LDFLAGS=" | ||
- | ./configure --with-blas=" | ||
- | |||
- | make | ||
- | |||
- | make install | ||
- | LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/ | ||
- | |||
- | </ |