Thursday, October 25, 2012

Installing "mixOmics" under R-2.15.1 - fixing missing dependencies

mixOmics

The package "mixOmics" depends on a nunber of packages which render some of the 3D graphics output, among them "rgl" which in turn needs a OpenGL libraries/header files for successful compilation. These can be installed by issuing following command in a separate terminal window:
sudo apt-get install libglu1-mesa-dev libgl1-mesa-dev
 Once the system packages have been installed, issuing following command in your R session will install the "mixOmics" package:
install.packages("mixOmics")

1 comment: