Ubuntu安装Rstudio Desktop
安装Rstudio Desktop
apt -y install gdebi-core
cd ~/Downloads/bio_software
wget https://download1.rstudio.org/rstudio-xenial-1.1.442-amd64.deb
gdebi rstudio-xenial-1.1.442-amd64.deb
启动Rstudio
rstudio
安装gdebi-core时若出现报错
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
rstudio : Depends: libjpeg62 but it is not going to be installed
Recommends: r-base (>= 2.11.1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
解决方法
apt -fy install
启动rstudio时若出现报错
Unable to find an installation of R on the system (which R didn't return valid output);
Unable to locate R binary by scanning standard locations
解决方法
export PATH=/home/felicia/Downloads/bio_software/R-3.4.4/bin/:$PATH