This question already has an answer here:
I tried to install
RStudio after installing
R in Ubuntu. When I clicked to install via
Ubuntu software, clicking the install button does nothing. But sometimes when I click it, it starts loading and after a while it says
rstudio installed. But it's not really installed.
So I installed it via terminal using:
$ sudo dpkg -i rstudio-0.99.902-i386.deb Selecting previously unselected package rstudio. (Reading database ... 175645 files and directories currently installed.) Preparing to unpack rstudio-0.99.902-i386.deb ... Unpacking rstudio (0.99.902) ... dpkg: dependency problems prevent configuration of rstudio: rstudio depends on libjpeg62; however: Package libjpeg62 is not installed. rstudio depends on libgstreamer0.10-0; however: Package libgstreamer0.10-0 is not installed. rstudio depends on libgstreamer-plugins-base0.10-0; however: Package libgstreamer-plugins-base0.10-0 is not installed. dpkg: error processing package rstudio (--install): dependency problems - leaving unconfigured Processing triggers for shared-mime-info (1.5-2) ... Processing triggers for gnome-menus (3.13.3-6ubuntu3) ... Processing triggers for desktop-file-utils (0.22-1ubuntu5) ... Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160415-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.59ubuntu1) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Errors were encountered while processing: rstudio
What are the steps to rectify this error?