Skip to content

Instantly share code, notes, and snippets.

@mikelove
Last active May 23, 2016 20:11
Show Gist options
  • Save mikelove/546930de01c1f58b6d26 to your computer and use it in GitHub Desktop.
Save mikelove/546930de01c1f58b6d26 to your computer and use it in GitHub Desktop.
setting up new computer
​sudo ​chown ​-R all the R library locations
cairo​ (libcairo2-dev)
​pango (libpango1.0-dev)​
​XML​ (libxml2-dev)
​x11 toolkit (libxt-dev)
texinfo
texlive​ (texlive-base texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra)
java (default-jdk)
curl (libcurl4-openssl-dev)
openssl (libssl-dev)
~~~
​emacs24
powertop
subversion
r-base ! but first add cran to sources.list !
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys KEYID
~~~
svn co trunk R
cd R
tools/rsync-recommended
./configure
# make sure that "knows about cairo and pango" is yes
make
# in your new R, check:
getOption("bitmapType")
​# if this is not "cairo", remove the R dir you just made and make sure cairo dev is installed​
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment