Ubuntu來來回回安裝了好幾次了,說不定過幾天要換計算機的時候還要再安裝一次,趕緊把一些關鍵點都記錄下來。
1、中文輸入法是不能直接用的,要先在系統管理中選擇language support,選擇中文
2、顯卡驅動選擇“顯示效果”,ubuntu會自己下載相應的文件
3、R的安裝
1)apt-get install r-base
2)apt-get install r-base-dev
包的安裝據說可以這樣,還沒有試過:
> install.packages()
> update.packages(lib.loc="/usr/local/lib/R/site-library")
Individual users can always install R packages into their home directory. The simplest procedure is to create a file ~/.Renviron containing, e.g.,
R_LIBS="~/lib/R/library:${R_LIBS}"
The install.packages() and update.packages() will then work in the directory
~/lib/R/library.