更新R,Rstudio版本及其R包
2021-11-17 本文已影响0人
Hello育种
更新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