I looked around and googled everything I could think of but cannot find a solution to what seems to be a basic problem. I am new to R, and I am working on a couple of projects, from various computers. Every time I open a project, I need to reinstall the various packages, and to activate them one by one with the library command. Is there a way to 'save' the installed packages and to save the active ones in the library of a project? thanks! Giulia
The packrat
package was made just for this (https://rstudio.github.io/packrat/). It allows you to create self cointained projects. Besides not having to install every package again this is desirable because even having different package verions could lead to having different results on each computer.