R - Useful Basic R Housekeeping Commands¶
Contents¶
- Package Management
- Update Packages
- List Outdated Packages
- Package Version
- Unload Packages
- R Administration
- Update R
- Miscellaneous
- Check size of object in memory
- Restart RStudio
Package Management¶
Update Packages¶
update.packages()
List Outdated Packages¶
old.packages()
Package Version¶
packageVersion("dplyr")
Unload Packages¶
detach("package:dplyr", unload = TRUE)
R Administration¶
Update R¶
- Use
installR
- WINDOWS ONLY
library(installR)
updateR()
- Use
updateR
remotes::install_github("AndreaCirilloAC/updateR")
library(updateR)
updateR(auto = TRUE, .Rprofile = NULL)
Miscellaneous¶
Check size of object in memory¶
pryr::object_size(df)
Restart RStudio¶
.rs.restartR()
Related¶
Backlinks:
list from [[R - Useful Basic R Housekeeping Commands]] AND -"Changelog"