【R語言】R語言版本和Rstudio的更新

剛剛學(xué)習(xí)R語言,由于安裝的R語言版本比教程的低一版,因此想著更新一下R語言版本。在使用R包的時(shí)候,經(jīng)常會(huì)提示另一個(gè)版本的警告。不過,這個(gè)R的更新還真的太快了,感覺有些招架不住。

參考:
https://blog.csdn.net/dnhb_lw/article/details/78701478

更新R

win系統(tǒng)下的更新:

install.packages("installr")
require(installr)
updateR()

IOS用包更新R

install.packages('devtools') #assuming it is not already installed
library(devtools)
install_github('andreacirilloac/updateR')
library(updateR)
updateR(admin_password = 'Admin user password')

官網(wǎng)下載

  1. go to http://www.r-project.org,
  2. click on ‘CRAN’2,
  3. then choose the CRAN site that you like. I like lzu: https://mirror.lzu.edu.cn/CRAN/.
  4. click on ‘Download R for XXX’ [where XXX is your operating system]
  5. follow the installation procedure for your operating system
  6. restart RStudio
  7. rejoice
    自己不知道選那個(gè),最選擇了基礎(chǔ)安裝包,全部安裝了。
    打開Rstudio默認(rèn)已經(jīng)使用最新的安裝的R版本,也可以會(huì)后自己手動(dòng)調(diào)整。


    image.png

更新Rstudio

  1. open RStudio
  2. click on “help” and “Check for Updates”
  3. if there are any updates, you will jump to https://www.rstudio.com/products/rstudio/download/#download
  4. then choose the version you like and click on “download”
  5. click on “RStudio ???-XXX”[where ??? is the version and XXX is your operating system]
  6. it may too slow to download complete, so you should use XUNLEI to download
  7. follow the installation procedure for your operating system
  8. restart RStudio
  9. rejoice
最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

友情鏈接更多精彩內(nèi)容