Do I need to install R on a server to run a project that uses renv?

46 Views Asked by At

Lets just say I created an R project using renv on server1, where R installed.

Then I need to move the whole project to a server2, where R is NOT installed.

So because I am using renv in my project, do I still need to install R on server2? Or I can simply use renv and run project on server2?

Thanks

1

There are 1 best solutions below

0
jrosell On

Yes. If you want to run {renv} you need to install R exactutables. It's an R package. It helps handling with the version of other R packages, but not with the version of the R executables If you don't want to use Docker or R binaries of your S.O., I could recommend you to use rig (The R Installation Manager).