Last active
August 24, 2016 03:12
-
-
Save mlist/0bac71cbcd1bac677ba7 to your computer and use it in GitHub Desktop.
How to get Microsoft R Open 3.2.3 to run on Debian Jessie
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### PLAIN INSTALLATION ### | |
#Download the installer for Microsoft R Open built for Ubuntu 15 | |
wget https://mran.revolutionanalytics.com/install/mro/3.2.3/MRO-3.2.3-Ubuntu-15.4.x86_64.deb | |
#Install package ignoring the missing libjpeg dependency | |
sudo dpkg -i --ignore-depends libjpeg8 MRO-3.2.3-Ubuntu-15.4.x86_64.deb | |
#At this point you can already use MRO but plotting won't work! | |
### PLOTTING FIX ### | |
sudo printf "# testing\ndeb http://httpredir.debian.org/debian/ stretch main contrib non-free" >> /etc/apt/sources.list | |
sudo vim /etc/apt/preferences | |
# old | |
Package: * | |
Pin: release o=Debian,a=stable | |
Pin-Priority: 980 | |
Package: * | |
Pin: release a=jessie-backports | |
Pin-Priority: 900 | |
# new | |
Package: libjpeg8 | |
Pin: release o=Debian,a=stretch | |
Pin-Priority: 990 | |
#install libjpeg8 | |
sudo apt-get update | |
sudo apt-get install libjpeg8 | |
### PERFORMANCE #### | |
#Download and install MKL library for faster computations | |
wget https://mran.revolutionanalytics.com/install/mro/3.2.3/RevoMath-3.2.3.tar.gz | |
tar -xzf RevoMath-3.2.3.tar.gz | |
cd RevoMath | |
sudo ./RevoMath.sh | |
#check if it's working | |
R |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment