Program: R v3.1.0 Comments: R is a free software environment for statistical computing and graphics. Source: http://www.r-project.org/ http://cran.r-project.org/ Cite: R Core Team. (2014). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing, Vienna, Austria. Available at : http://www.R-project.org. Compilation notes: Downloaded source package R-3.1.0.tar.gz Local installation: /home/sgi/R310/ On /apps/: $ ./configure --with-readline=no --with-x=no --prefix=/apps/R/ $ make $ make check # $ make check-devel # $ make check-all Packages were downloaded from CRAN and installed with $ R CMD INSTALL Errors during compilation: GSL & DIVERSITREE Error installing diversitree: "configure: error: gsl-config not found, is GSL installed?". GSL installed from source to correct the dependencies. * Install GSL at /apps/: $ ./configure --prefix=/apps/GSL/ $ make $ make check > log 2>&1 $ make install $ make clean * Work around GSL erros: (1) Copy gsl-config from /apps/GSL/bin/ to /usr/local/bin (2) Modified the divertitree configure file to ignore version check:export In line 3306, replace 'if test "${gsl_version_ok}" = no; then' for 'if test "${gsl_version_ok}" = yes; then (3) Remake divertitree tarball with tar -zcvf diversitree_0.9-7.tar.gz diversitree (4) sudo PATH=$PATH:`which gsl-config` LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./apps/GSL/include/gsl/:/apps/GSL/lib/ /apps/R/bin/R CMD INSTALL diversitree_0.9-7.tar.gz Example executiuon of R scripts calling for GSL libraries: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./apps/GSL/include/gsl/:/apps/GSL/lib/ /apps/Rscript BDiversitree1_v3.r tree0214 diet_birds.txt musse --t 1 --i 2000000 --s 1000