Plan to have at least 4.4GB free space before installing. The script tries to remove these packages after the install, but the disk cost is still high. RStudio itself requires the heavy qt-sdk package (~500mb), and the build process requires several other large packages.
Why does this take up so much diskspace?Ĭhromebooks are great hardware for browsing the internet, but they don't come with the largest drives.
If I get new ARM hardware running a different OS I might try it out as well. Will this script work on a different version of Ubuntu? How about Debian? There is no guarantee this will work, so you have been warned. If you are feeling adventerous, you can change the value of VERS in the script. This was the most recent version available when the project was completed.
The script will by default install version. Yes! See Why does this install an old version of RStudio? Will this work with RStudio Server instead of the Desktop edition? The script will install RStudio v but may become broken with newer release of the software. Through a long process of trial and error, this script was hacked together to get RStudio to build using mostly the Ubuntu repos and a few independent downloads.
The downside of running ARM hardware is less support for software packages and trouble porting some software to the architecture. Why not just install RStudio from the repos or download the binary?
However, it is not common in desktop/notebook computers, so common applications that work for x86 32- and 64-bit processors will not run. ARM is a processor architecture popular in mobile devices that achieves great energy efficiency.R is a statistical scripting language and open source software that is very useful for data analysis.Testers wanted! What is R? RStudio? ARM? Ubuntu? Chromebook? Crouton? Raspberry Pi?
The code can also serve as a guide if you running a different GNU/Linux distribution on ARM hardware, but the package versions could present issues. It was specifically written for the Samsung Chromebook running Ubuntu 14.04 LTS using Crouton but should work for other ARM hardware on Ubuntu. This script installs R and compiles RStudio Desktop for ARM architecture. You may need to change the permissions to allow the script to execute, in which case enter sudo chmod a+x ARM-RStudio.sh before launching the script. Launch a terminal from inside this folder and run sudo.
Git clone the repo or download the zip file containing ARM-RStudio and extract its contents. Compile RStudio Desktop for Ubuntu 18.04 LTS on ARM Chromebook or Raspberry Pi Usage