How to install RStudio on a Chromebook

Today we are looking at how to install RStudio and R base on a Chromebook.  Please follow the video/audio guide as a tutorial where we explain the process step by step and use the commands below.

This tutorial will only work on Chromebooks with an Intel or AMD CPU (with Linux Apps Support) and not those with an ARM64 architecture CPU.

If you have any questions, please contact us via a YouTube comment and we would be happy to assist you!

Please take note that with the release of Chrome OS 90,  the location of Linux Apps has been changed in the Chromebook’s settings.  Have a look at this tutorial, to see how to turn on Linux apps and then continue with the installation tutorial.

Commands Used:
1) echo "deb buster-cran40/" | sudo tee /etc/apt/sources.list.d/r.list
2) sudo apt-key adv --keyserver --recv-keys FCAE2A0E115C3D8A
3) sudo apt update
4) sudo apt install r-base libnss3
5) wget
6) sudo dpkg -i rstudio-1.4.1106-amd64.deb
7) sudo apt -f install

Official Site:

All Currently Supported Chromebooks with Linux Apps (Crostini) support

Have a look at our Chromebook comparison and Buyers Guide!

Join our mailing list to be notified about all major Chromebook Sales.


  1. This worked for me. Thanks for posting! I do not know anything about Linux, but wanted to run R Studio on my Chromebook.

  2. Thanks so much. Worked fine for me.

  3. Thank you. But you should install rstudio-1.4.1717-amd64.deb instead of rstudio-1.4.1106-amd64.deb if you want to use ggplot2 package in RStudio.

    1. Just change #5 to: wget

    2. Change #6 to: sudo dpkg -i rstudio-1.4.1717-amd64.deb

    3. I don't know why but it won't work for me either way.

  4. Great work!!! the only post that actually worked for me, thanks.

  5. This was EXTREMELY helpful and allowed me to install both RStudio and R base on my Chromebook.

    Question: Do you have similar install steps for installing RTools?

  6. /usr/lib/rstudio/bin/rsession: error while loading shared libraries: cannot open shared object file: No such file or directory I keep getting this error message. Does anyone know how to fix it


Post a Comment