Skip to content

Instantly share code, notes, and snippets.

@mikelove
Last active February 20, 2017 16:43
Show Gist options
  • Save mikelove/d0f13613f5045da10081d7416e762a48 to your computer and use it in GitHub Desktop.
Save mikelove/d0f13613f5045da10081d7416e762a48 to your computer and use it in GitHub Desktop.
build R on cluster
svn co https://svn.r-project.org/R/trunk R
cd R
tools/rsync-recommended
./configure
make

lots of info from here: http://pj.freefaculty.org/blog/?p=315

export PATH=$HOME/packages/bin:$PATH
export LD_LIBRARY_PATH=$HOME/packages/lib:$LD_LIBRARY_PATH
export CFLAGS="-I$HOME/packages/include"
export LDFLAGS="-L$HOME/packages/lib"
tar -xvf
cd
./configure --prefix=$HOME/packages
make 
make install

same for:

special:

make -f Makefile-libbz2_so
make clean
make
make -n install PREFIX=$HOME/packages
make install PREFIX=$HOME/packages

special:

make -j3

  • pcre ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.38.tar.gz

special:

./configure --enable-utf8 --prefix=$HOME/packages

special:

make -j3

special ./config --prefix=$HOME/packages

  • libxml2 ftp://xmlsoft.org/libxml2/libxml2-2.9.4.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment