Unable to install R Studio [duplicate]

Solution 1:

Installing from a .deb file through dpkg does not resolve dependency issues the same way installation through apt will. After running the sudo dpkg -i yourpackage.deb, you should run sudo apt-get install -f to fix and complete the installation if any errors were encountered by dpkg.

Solution 2:

Your best bet is to use gdebi to do RStudio installations. It automatically resolves dependencies (unlike dpkg).

sudo apt-get install gdebi-core
sudo gdebi rstudio-0.99.902-i386.deb

In fact, that's what RStudio themselves recommends for rstudio-server installation.