/r_setup_between_computers

Repository for a list of packages and settings so I can easily setup R & RStudio when changing computers

Primary LanguageR

r_setup_between_computers

I'll keep this updated with the list of packages I use at work, so that I can setup a new instance of R & RStudio when changing computers easily.

The main inspiration comes from Tom Jemmett's gist here, but also from this NHS-R community post.

Usage

To save the list of packages, run install_list_of_packages.r - this compiles all CRAN and GitHub-installed packages. If there is an existing packages_to_install.rds file from before, the list of packages will be merged between the existing file and the currently installed packages.

To install packages, run install_list_of_packages.r.