#如何更新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
- go to http://www.r-project.org,
- click on ‘CRAN’2,
- then choose the CRAN site you prefer, for example: https://mirror.lzu.edu.cn/CRAN/.
- click on ‘Download R for XXX’ [where XXX is your operating system]
- follow the installation procedures
- restart RStudio
- rejoice
installr函数下载包的速度很慢,我推测可能是因为选择镜像的问题,所以推荐去官网下载。
#part2 更新Rstudio
- open RStudio
- click on “help” and “Check for Updates”
- if there are any updates, you will jump to https://www.rstudio.com/products/rstudio/download/#download
- then choose the version you like and click on “download”
- click on “RStudio ???-XXX”[where ??? is the version and XXX is your operating system]
- it may too slow to download complete, so you should use XUNLEI to download
- follow the installation procedures
- restart RStudio
- rejoice
- https://stackoverflow.com/questions//update-r-using-rstudio/# ↩︎
- The Comprehensive R Archive Network ↩︎

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