sudo apt-get install r-basesudo sudo apt-get install gdebi-coresudo gdebi rstudio-xxx.deb replacing “rstudio-xxx-.deb” by the exact file name you just downloadedsudo pacman -S yaourtsudo pacman -S ryaourt -S rstudio-desktop-binR and RStudio ports are available.