2025年如何更新R以及RStudio

如何更新R以及RStudio如何更新 R 以及 RStudio part1 更新 R section1 win 用包更新 R install packages installr require installr updateR section2 macOS 用包更新 R install packages devtools

大家好,我是讯享网,很高兴认识大家。

#如何更新R以及RStudio
part1 更新R
section1 win 用包更新R

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

讯享网

section2 macOS 用包更新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 you prefer, for example: https://mirror.lzu.edu.cn/CRAN/.
  4. click on ‘Download R for XXX’ [where XXX is your operating system]
  5. follow the installation procedures
  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 procedures
  8. restart RStudio
  9. rejoice

  1. https://stackoverflow.com/questions//update-r-using-rstudio/# ↩︎
  2. The Comprehensive R Archive Network ↩︎
小讯
上一篇 2025-02-23 17:13
下一篇 2025-01-13 17:16

相关推荐

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容,请联系我们,一经查实,本站将立刻删除。
如需转载请保留出处:https://51itzy.com/kjqy/79203.html