{"id":237,"date":"2017-01-03T22:13:13","date_gmt":"2017-01-03T22:13:13","guid":{"rendered":"http:\/\/blogs.neuwirth.priv.at\/software\/?p=237"},"modified":"2017-01-03T22:13:42","modified_gmt":"2017-01-03T22:13:42","slug":"rstudio-on-raspberrypi-3","status":"publish","type":"post","link":"https:\/\/blogs.neuwirth.priv.at\/software\/2017\/01\/03\/rstudio-on-raspberrypi-3\/","title":{"rendered":"RStudio on RaspberryPi 3"},"content":{"rendered":"<div class=\"tweet_button97\" style=\"float: right; margin-left: 10px;\"><a href=\"http:\/\/twitter.com\/share\" rel=\"nofollow\" class=\"twitter-share-button\" data-url=\"https:\/\/blogs.neuwirth.priv.at\/software\/2017\/01\/03\/rstudio-on-raspberrypi-3\/\" data-text=\"RStudio on RaspberryPi 3 - Software tips, tricks, and hacks\" data-count=\"vertical\" data-lang=\"en\" data-via=\"tweetbutton\"  data-related=\"coderplus:Wordpress Tips and more.\"><\/a><\/div><p>I have been able to build RStudio server on my RaspberryPi 3.<br \/>\nOne change was crucial: I added a 16GB swap file on an external disk to my system (mounting the external drive and using dphys-swapfile &#8211; available in Raspbian)<br \/>\nI used the current version of Raspbian (Jessie), updated all packages,<br \/>\nand did<br \/>\nsudo apt-get install pandoc pandoc-citeproc<br \/>\nI also built R 3.3.2 from the sources (since the Raspbian repo only has R 3.1.1).<\/p>\n<p>Installation of R went smoothly just with configure and make.<\/p>\n<p>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).<br \/>\nThen I dowloaded the RStudio <a href=\"https:\/\/github.com\/rstudio\/rstudio\/\">source from github<\/a> and followed<br \/>\nthe build instructions.<\/p>\n<p>The process is not finished after<br \/>\nmake install<br \/>\nbut the INSTALL instructions are very clear about how to get the server up and running.<\/p>\n<p>One minor change need to be made:<br \/>\nRStudion installs x86 binaries of pandoc and pandoc-citeproc in<br \/>\n\/usr\/local\/lib\/rstudio-server\/bin\/pandoc<br \/>\nThese binaries have to be renamed (or deleted), than RStudio will use the binaries installed<br \/>\nfrom the Raspbian repo.<\/p>","protected":false},"excerpt":{"rendered":"<div class=\"tweet_button97\" style=\"float: right; margin-left: 10px;\"><a href=\"http:\/\/twitter.com\/share\" rel=\"nofollow\" class=\"twitter-share-button\" data-url=\"https:\/\/blogs.neuwirth.priv.at\/software\/2017\/01\/03\/rstudio-on-raspberrypi-3\/\" data-text=\"RStudio on RaspberryPi 3 - Software tips, tricks, and hacks\" data-count=\"vertical\" data-lang=\"en\" data-via=\"tweetbutton\"  data-related=\"coderplus:Wordpress Tips and more.\"><\/a><\/div><p>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 &#8211; available in Raspbian) I used the current version of Raspbian (Jessie), updated all packages, and did sudo apt-get [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[4],"_links":{"self":[{"href":"https:\/\/blogs.neuwirth.priv.at\/software\/wp-json\/wp\/v2\/posts\/237"}],"collection":[{"href":"https:\/\/blogs.neuwirth.priv.at\/software\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.neuwirth.priv.at\/software\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.neuwirth.priv.at\/software\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.neuwirth.priv.at\/software\/wp-json\/wp\/v2\/comments?post=237"}],"version-history":[{"count":1,"href":"https:\/\/blogs.neuwirth.priv.at\/software\/wp-json\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":238,"href":"https:\/\/blogs.neuwirth.priv.at\/software\/wp-json\/wp\/v2\/posts\/237\/revisions\/238"}],"wp:attachment":[{"href":"https:\/\/blogs.neuwirth.priv.at\/software\/wp-json\/wp\/v2\/media?parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.neuwirth.priv.at\/software\/wp-json\/wp\/v2\/categories?post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.neuwirth.priv.at\/software\/wp-json\/wp\/v2\/tags?post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}