Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
> install.packages("mvtnorm", repos="http://R-Forge.R-project.org")
trying URL 'http://R-Forge.R-project.org/src/contrib/mvtnorm_0.9-9992.tar.gz'
Content type 'application/x-gzip' length 315853 bytes (308 Kb)
opened URL
==================================================
downloaded 308 Kb

* installing *source* package âmvtnormâ ...
** libs
gcc -std=gnu99 -I/sw/R/2.13.0/lib64/R/include  -I/usr/local/include    -fpic  -g -O2 -c miwa.c -o miwa.o
gfortran   -fpic  -g -O2 -c mvt.f -o mvt.o
gcc -std=gnu99 -I/sw/R/2.13.0/lib64/R/include  -I/usr/local/include    -fpic  -g -O2 -c randomF77.c -o randomF77.o
gfortran   -fpic  -g -O2 -c tvpack.f -o tvpack.o
gcc -std=gnu99 -I/sw/R/2.13.0/lib64/R/include  -I/usr/local/include    -fpic  -g -O2 -c tvpackAux.c -o tvpackAux.o
gcc -std=gnu99 -shared -L/usr/local/lib64 -o mvtnorm.so miwa.o mvt.o randomF77.o tvpack.o tvpackAux.o -lgfortran -lm -L/sw/R/2.13.0/lib64/R/lib -lR
installing to /sw/R/2.13.0/lib64/R/library/mvtnorm/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded

* DONE (mvtnorm)

The downloaded packages are in
        â/tmp/RtmpVkCqG5/downloaded_packagesâ
Updating HTML index of packages in '.Library'
Making packages.html  ... done

corpcor

R-3.2.3 Installation

No Format
module load library/atlas/3.10.2
module load jdk/1.8.0_66

./configure --prefix=/sw/R/R-3.2.3 --with-blas="-L/sw/library/atlas/3.10.2/my_build_dir/lib -lptf77blas -lpthread -latlas" --with-lapack --enable-R-shlib  --enable-BLAS-shlib LIBnn=lib64 JAVA_HOME=/sw/sdev/jdk/jdk1.8.0_66   2>&1 | tee log.configure_R

make  2>&1 | tee log.make_R
make check 2>&1 | tee log.makeCheck_R

make  install 2>&1 | tee log.make_install_R.txt
cp -rp library lib include doc m4 modules po tests tools  
cp -rp library lib include doc m4 modules po tests tools  ../R-3.2.3/
>>>>>>>>>
module display R/3.2.3
-------------------------------------------------------------------
/sw/com/modulefiles/R/3.2.3:
module-whatis     Set up environment for R version 3.2.3
conflict     R/3.0.2
conflict     R/3.2.0
conflict     R/3.2.3old
module         load jdk/1.8.0_66
module         load library/gdal/1.9.2
module         load library/proj/4.8.0
module         load library/geos/3.4.2
module         load jags/4.0.1
module         load library/atlas/3.10.2
prepend-path     PATH /sw/R/R-3.2.3/bin
prepend-path     PATH /sw/R/R-3.2.3/lib64/R/bin
prepend-path     LD_LIBRARY_PATH /sw/R/R-3.2.3/lib64/R/lib
prepend-path     INCLUDE /sw/R/R-3.2.3/lib64/R/include
prepend-path     MANPATH /sw/R/R-3.2.3/share/man
-------------------------------------------------------------------
>>>>>>>>

module load R/3.2.3
wget https://cran.r-project.org/src/contrib/pbkrtest_0.4-6.tar.gz
module load R/3.2.3
install.packages('lme4', dependencies=TRUE, repos='http://cran.rstudio.com/')
install.packages("/tmp/pbkrtest_0.4-6.tar.gz", repos=NULL)
install.packages('caret', dependencies=TRUE, repos='http://cran.rstudio.com/')

 

 

Sample PBS jobs

Serial jobs

...