📅  最后修改于: 2022-03-11 14:57:21.400000             🧑  作者: Mango
# update only a specific package use install.packages()
install.packages("plotly")
# update all available packages
update.packages()
# list all packages where an update is available
old.packages()
# update, without prompts for permission/clarification
update.packages(ask = FALSE)