Versions Compared

Key

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

...

No Format
module purge
module load library/zlib/1.2.8
module load library/bzip2/1.0.6fpic
module load library/xz/5.3.3
module load pcre/8.39
module load misc/curl/7.53.1
module load ATLAS/3.9.39
module load jdk/1.8.0_66
module load gcc/4.9.3
module load misc/openssl/1.0.2

 ./configure --prefix=/sw/R/3.4.0 '--with-cairo'  '--with-jpeglib' '--with-readline' '--with-tcltk'  '--with-blas' '--with-lapack' '--enable-R-profiling'  '--enable-R-shlib'  '--enable-memory-profiling' --enable-R-shlib  --enable-BLAS-shlib  LIBnn=lib64 JAVA_HOME=/sw/sdev/jdk/jdk1.8.0_66/jre  LDFLAGS=" -L/sw/pcre/8.39/lib"  CPPFLAGS="-I/sw/pcre/8.39/include"  2>&1 | tee log.configure_R.txt

make  2>&1 | tee makeLog.txt

make install 2>&1 | tee makeInstallLog.txt

 

Useful Command

 

No Format
ap <- available.packages()
setRepositories()

library(devtools)
install_github("packageauthor/foobarbaz")
install_bitbucket("packageauthor/foobarbaz")
install_gitorious("packageauthor/foobarbaz")

install.packages("Rbbg", repos = "http://r.findata.org")
install.packages("lubridate", dependencies=TRUE, repos='http://cran.rstudio.com/')


source("https://bioconductor.org/biocLite.R")
biocLite("preprocessCore")

install_url("http://cran.r-project.org/src/contrib/Archive/sentiment/sentiment_0.2.tar.gz")


 

Sample PBS jobs

Serial jobs

...

1. http://yusung.blogspot.com.au/2009/01/install-jags-and-rjags-in-fedora.html

2. https://stackoverflow.com/questions/25721884/how-should-i-deal-with-package-xxx-is-not-available-for-r-version-x-y-z-wa