如何更新R以及RStudio

如何更新R以及RStudio

part1 更新R

section1 win用包更新R

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

section2 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')

section3 官网下载1

  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
    installr函数下载包的速度 很慢,我推测可能是因为选择镜像的问题,所以推荐去 官网下载

part2 更新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

  1. https://stackoverflow.com/questions/13656699/update-r-using-rstudio/38619239#38619239 ↩
  2. The Comprehensive R Archive Network ↩

你可能感兴趣的:(R常见操作)