美文网首页
更新R,Rstudio版本及其R包

更新R,Rstudio版本及其R包

作者: Hello育种 | 来源:发表于2021-11-17 17:14 被阅读0次

更新R在Rstudio中

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

更新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 procedure for your operating system
restart RStudio
rejoice

自动下载相关依赖包

install.packages("ggplot2", dependencies = T)

当R版本升级后,全部更新

update.packages(checkBuilt=TRUE, ask=FALSE)

部分来自参考:https://blog.csdn.net/dnhb_lw/article/details/78701478

相关文章

网友评论

      本文标题:更新R,Rstudio版本及其R包

      本文链接:https://www.haomeiwen.com/subject/tkpkbltx.html