Skip to content

Install Ubuntu Dependencies

Tom Elliott edited this page Nov 17, 2015 · 1 revision

There are two groups of dependencies you need: system and R package dependencies.

System

You need these dependencies (at least). The libraries required will depend on the version of Ubuntu you are running.

  • GTK+ 2.0
  • XOrg Windowing System

It's very scare down here, so if you can send us details about what you needed that would be great!

Ubuntu 14.04, 15.04, 15.10

sudo apt-get install xorg-dev libgtk2.0-dev

R Package Libraries

There are a bunch of these that are necessary, some of which can/must be downloaded from the CRAN repository via apt-get. If you didn't install R via apt-get, you'll have to install them from source.

  • RGtk2, RODBC, rgl, car, plyr, reshape2

Those above are available from the CRAN apt repository, but this will depend on your version of R, version of Ubuntu, etc.

Ubuntu 15.10

sudo apt-get install r-cran-rgtk2 r-cran-rodbc r-cran-rgl r-cran-car r-cran-plyr r-cran-reshape2
Clone this wiki locally