Installing Rstudio on a Chromebook using crouton to run Ubuntu xenial

Hi all! Banging.my head against my desk. I followed the instructions from this website under "xenial" to install r and r studio. Install R and RStudio on Ubuntu 12.04/14.04/16.04 | by Michael Galarnyk | Medium

It looks like it installed everything okay, but when I click on RStudio in my applications, nothing happens.

Running "Rstudio" in an terminal gives me this error message:

Rstudio: error while loading shared libraries: libxslt.so.1: cannot open object file: no such file or directory.

Any of you fine folks have any ideas for me? Thank you in advance!

@jennybryan and @jhollist have been experimenting with Chromebooks in another thread, so they might be able to help you :slightly_smiling_face:

I think you need to install the library libxslt, maybe with sudo apt-get ? This might help you as well: Ubuntu – Error

+1 to @pgensler suggestion.

I have some incredibly messy notes up at https://jwhollister.com/r/2017/04/14/chromebook-4-rstats.html. Not sure they will be useful or not. I did have to install a number of additional libraries. Try getting those added.

Also, in the link in your OP, they install a fairly old version of RStudio. The recent version is 1.1.383. You can get that with wget https://download1.rstudio.org/rstudio-xenial-1.1.383-amd64.deb.

1 Like

This worked for me:

sudo apt-get install libxslt1-dev
rst