log in
register

[From my gist] How to renew R in Windows

Qingqi@2020-07-07 #tech

post date: 2020-4-3

for Windows

  • run the sentences below in R install.packages("installr") require(installr) updateR()

  • then there will be a interactive window

  • choose a path to install the new R (not the old path)
  • allow to copy the packages from old R to new R
  • allow to update all packages
  • allow other transactions
  • finish the window

  • finally

  • delete the old R folder (unless you want to keep it)
  • add the new R bin path into environment Path
  • if you use RKernal in jupyter, run in R IRkernel::installspec()
Comments

Log in to add your comment

Don't have an account? register here