😶 Silently install different versions of R on Windows
For updating R to latest version or install R-related softwares in R, use installr
- https://www.r-bloggers.com/how-to-do-a-silent-install-of-r/
- https://cran.r-project.org/bin/windows/base/rw-FAQ.html#Can-I-customize-the-installation_003f
- https://jrsoftware.org/ishelp/
While this repo is mainly to automate R installation outside of R, an R script 'install_packages.R' also included for "safer" R package installation on Windows. For a better alternative, consider pak.
Run 'install_packages.R' and just install any packages you want!
> required_packages <- c("disk.frame", "tsibble")
> install_packages(required_packages)
Warning in install_packages(required_packages) :
Some non-base packages are loaded before installation: 'yaml'. Installing these packages might caused installation failed, try run 'rm(list = ls())' & launch a new R session
'disk.frame', 'tsibble' already installed and will be skipped. If you want to re-install these packages, try remove it first and re-run again