18.04 – How to install R studio on xfce remote desktop?

You have to open Xfce terminal and then execute the following commands to install R and RStudio:

sudo apt-get update

cd ~/Downloads
wget -c https://rstudio.org/download/latest/stable/desktop/bionic/rstudio-latest-amd64.deb -O rstudio-latest-amd64.deb 

# build deps for many R-packages
sudo apt-get install build-essential libssl-dev libcurl4-openssl-dev libxml2-dev libcairo2-dev

# RStudio by itself
sudo apt-get install ./rstudio-latest-amd64.deb

Then run rstudio from terminal or find RStudio in Xfce menu.

Read more here: Source link