I will to clone my r repository into another pc, how I can ensure to install the same packages in the same version I currently have installed in the other pc where the same repository is also cloned?
Asked
Active
Viewed 147 times
0
-
2You should look into the [renv package](https://rstudio.github.io/renv/articles/renv.html) – eastclintw00d Dec 06 '20 at 22:44
-
2Old pc: store the output from `installed.packages()[,"Version"]`, with the package name and its version. New pc: follow https://stackoverflow.com/a/29840882/3358272. Imperfect but it's a start. – r2evans Dec 06 '20 at 22:57
-
The "time machine" mirror maintained by Microsoft (MRAN: `snapshot` package) – Ben Bolker Dec 06 '20 at 23:12