Skip to content

Instantly share code, notes, and snippets.

@thattommyhall
Created November 19, 2010 16:37
Show Gist options
  • Save thattommyhall/706736 to your computer and use it in GitHub Desktop.
Save thattommyhall/706736 to your computer and use it in GitHub Desktop.
#sort out GPG shiz (I did it for the cloudera stuff too)
gpg --keyserver pgp.mit.edu --recv-key E2A11821
gpg -a --export E2A11821 | sudo apt-key add -
#add to /etc/sources.list.d/
#R.list
deb http://rh-mirror.linux.iastate.edu/CRAN/bin/linux/ubuntu hardy/
apt-get install r-base r-base-dev pkg-config littler
sudo R
Type > update.packages()
60 UK
y y y y
#add to bottom of /etc/environment
HADOOP=/usr
#do it for current session
export HADOOP=/usr
#install protobuff
wget http://protobuf.googlecode.com/files/protobuf-2.3.0.tar.bz2
tar jxf protobuf-2.3.0.tar.bz2
cd protobuf-2.3.0
./configure
make
make install
ldconfig
#install Rhipe
wget http://www.stat.purdue.edu/~sguha/rhipe/dn/Rhipe_0.64.tar.gz
R CMD INSTALL Rhipe_0.64.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment