(Update) How to install RStudio, RStudio Server and Quarto with ‘apt install’

Install R packages as you would do on Windows.
Author

Mauricio “Pachá” Vargas S.

Published

June 24, 2023

R and Shiny Training: If you find this blog to be interesting, please note that I offer personalized and group-based training sessions that may be reserved through Buy me a Coffee. Additionally, I provide training services in the Spanish language and am available to discuss means by which I may contribute to your Shiny project.

As an update to the previous post on this, the current update allows to install:

  1. RStudio Desktop Stable
  2. RStudio Desktop Daily Build
  3. Quarto
  4. R binary packages (as on Windows)
  5. RStudio Server new

How to do it? I provided a configuration script that you can run with

sudo bash -c "$(wget -qO- https://raw.githubusercontent.com/pachadotdev/r-packages-ubuntu/main/configure.sh)"

If you are already using the script and get an expired certificate warning, run the script again. I generated a new certificate and it should be valid for 180 days and overcomes the apt-key deprecation.

Star/subscribe to https://github.com/pachadotdev/r-packages-ubuntu to get updates.