原文出处
https://blog.csdn.net/qq_18055167/article/details/83793690
R包的卸载更新
#卸载package
remove.packages("mypackage")
#查看的version
R.version
#getRversion()
#查看package的version
packageVersion("mypackage")
#更新包
update.packages()
#update.packages(ask = FALSE)
#删除包
remove.packages("mypackage")
R软件的更新
install.packages("installr")
library(installr)
updateR()