📜  如何更新 r 包 - 无论代码示例

📅  最后修改于: 2022-03-11 14:57:21.400000             🧑  作者: Mango

代码示例1
# 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)