Skip to content

Instantly share code, notes, and snippets.

@remlapmot
Last active December 15, 2022 20:21
Show Gist options
  • Save remlapmot/19e48220548fb47782d9e03dbebb96cf to your computer and use it in GitHub Desktop.
Save remlapmot/19e48220548fb47782d9e03dbebb96cf to your computer and use it in GitHub Desktop.
Update R on Windows - launch Powershell terminal as Administrator and assuming R.exe is on the PATH
R.exe -e "update.packages(ask = FALSE, repos = 'https://cran.rstudio.com')"
@remlapmot
Copy link
Author

remlapmot commented Feb 15, 2022

Alternative repos

update.packages(ask = FALSE, repos = 'https://cloud.r-project.org')

@remlapmot
Copy link
Author

remlapmot commented Feb 15, 2022

Run in a Powershell Terminal with

./update_r_win.ps1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment