RStudio on RaspberryPi 3

[This article was first published on R – Software tips, tricks, and hacks, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

I have been able to build RStudio server on my RaspberryPi 3.
One change was crucial: I added a 16GB swap file on an external disk to my system (mounting the external drive and using dphys-swapfile – available in Raspbian)
I used the current version of Raspbian (Jessie), updated all packages,
and did
sudo apt-get install pandoc pandoc-citeproc
I also built R 3.3.2 from the sources (since the Raspbian repo only has R 3.1.1).

Installation of R went smoothly just with configure and make.

A few times durning build, the were notifications of missing (system) libraries, but the instructions what to install (using sudo apt-get install) were clear enough to finish the build).
Then I dowloaded the RStudio source from github and followed
the build instructions.

The process is not finished after
make install
but the INSTALL instructions are very clear about how to get the server up and running.

One minor change need to be made:
RStudion installs x86 binaries of pandoc and pandoc-citeproc in
These binaries have to be renamed (or deleted), than RStudio will use the binaries installed
from the Raspbian repo.

To leave a comment for the author, please follow the link and comment on their blog: R – Software tips, tricks, and hacks. offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)