how to update a specific package in r code example
Example: how to update an r package
# 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)