Ubuntu 16.10系統下安裝及更新Rstudio
在安裝Rstudio之前通常需要安裝R
命令行如下:
sudo apt-get install r-basen
後續如果有更新可以用下面命令行更新:
sudo apt-get dist-upgraden
R的默認命令行太簡陋了,沒有補全,沒有各種縮進,還在有Rstudio這個IDE。如果沒有Rstudio,R真是簡陋到令人不想用。
如果是64位系統則命令行如下:
sudo apt-get install gdebi-corenwget https://download1.rstudio.org/rstudio-1.0.136-amd64.debnsudo gdebi rstudio-1.0.136-amd64.debn
第一行是安裝gdebi包安裝工具
第二行是下載最新版的rstudio
第三行是進行安裝,實際操作表明,如果你已經安裝老版本的rstudio則會進行更新。提示如下:
Reading package lists... DonenBuilding dependency tree nReading state information... DonenReading state information... DonennRStudion RStudio is a set of integrated tools designed to help you be more productive with R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, and workspace management.nDo you want to install the software package? [y/N]:yn(Reading database ... 554790 files and directories currently installed.)nPreparing to unpack rstudio-1.0.136-amd64.deb ...nUnpacking rstudio (1.0.136) over (0.99.902) ...nSetting up rstudio (1.0.136) ...nProcessing triggers for shared-mime-info (1.8-1) ...nProcessing triggers for hicolor-icon-theme (0.15-1) ...nProcessing triggers for desktop-file-utils (0.23-1ubuntu2) ...nProcessing triggers for gnome-menus (3.13.3-6ubuntu5) ...nProcessing triggers for bamfdaemon (0.5.3+16.10.20160929-0ubuntu1) ...nRebuilding /usr/share/applications/bamf-2.index...nProcessing triggers for mime-support (3.60ubuntu1) ...n
推薦閱讀:
※ubuntu下有線網連接不上?
※煉丹爐(2)--系統安裝:Ubuntu 16.10 + cuda 8.0 + cudnn 5.1 + tensorflow r1.0 GPU