0

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?

lo labs
  • 89
  • 13
  • 2
    You should look into the [renv package](https://rstudio.github.io/renv/articles/renv.html) – eastclintw00d Dec 06 '20 at 22:44
  • 2
    Old 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

0 Answers0