can not install Rstudio on linux
1
0
Entering edit mode
6.5 years ago
mikysyc2016 ▴ 120

Hi all, when i try to install R studio on linux, it doesn't work. And show me below,

$ sudo dpkg -i rstudio-xenial-1.1.453-amd64.deb 
(Reading database ... 185030 files and directories currently installed.)
Preparing to unpack rstudio-xenial-1.1.453-amd64.deb ...
Unpacking rstudio (1.1.453) over (1.1.453) ...
dpkg: dependency problems prevent configuration of rstudio:
 rstudio depends on libjpeg62; however:
  Package libjpeg62 is not installed.

dpkg: error processing package rstudio (--install):
 dependency problems - leaving unconfigured
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Errors were encountered while processing:
 rstudio
R • 2.6k views
ADD COMMENT
0
Entering edit mode

Stay connected to internet and type in sudo gdebi rstudio-xenial-1.1.453-amd64.deb

ADD REPLY
0
Entering edit mode
6.5 years ago

You are evidently using Ubuntu 16.04.

Try this:

sudo apt-get install libjpeg-dev

Then:

sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys E084DAB9

sudo add-apt-repository 'deb https://ftp.ussg.iu.edu/CRAN/bin/linux/ubuntu xenial/'
sudo apt-get update
sudo apt-get install r-base
sudo apt-get install r-base-dev

sudo apt-get install gdebi-core
sudo gdebi rstudio-xenial-1.1.453-amd64.deb

Kevin

ADD COMMENT

Login before adding your answer.

Traffic: 1843 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6