3
I use my scripts on several computers and then come across errors regarding the lack of packages and often such computers do not have internet access, which makes it difficult to access the repositories.
Also, when I need to maintain the "machine" (format), it would be interesting to have a backup of the installed packages, this would save me time.
Therefore, I would like to know how I can manage my packages, export and import packages in R?
Exporting from a already downloaded computer? Any reason not to install directly from the repositories on the other computer?
– Molx
take a look at Packrat: https://rstudio.github.io/packrat/
– Daniel Falbel
Thanks for the tips! Molx - Yes of packages already installed and thinking of cases that of computers without internet connection, or create a backup of all installed packages. Daniel - I will look and then gave you a Feedback.
– Jean
Revolution Analytics has the Reproducible R Toolkit aiming at environment portability, the only point is that they use their repository (the MRAN) and not the CRAN, although they maintain a periodic synchronization with the CRAN.
– Wilson Freitas
Daniel - the package Packrat package is cool! Wilson - I will check the Reproduclible R Toolkit... thanks in advance!
– Jean
Cool @Jean! If you can use it, you could write an answer teaching the basics, so the next ones to search will already have the answer :)
– Daniel Falbel
Jewel! I’ll do it as soon as I’m done testing it. : D
– Jean