How-To: RStudio: Restoring with a Snapshot using Renv

Question

How do I restore the plugins in my RStudio project to an earlier snapshot?

 

Answer

1. Load the desired project which you would like to restore.

2. Navigate to the "Packages" tab, then click on the "Restore" button.

The "Packages" tab, with the "Restore" button highlighted.

3. The "Restore Library" pop-up will open. Click the "Restore" button.

The "Restore Library" pop-up, with the "Restore" button highlighted.

4. The "Restore Library" pop-up will close. In the "Console", the command "renv::restore(prompt = FALSE)" will be ran automatically. Wait for the command to finish.

The "Console", with the "renv::restore" command inputted, and "Restart your R session to use the new versions." prompted.

5. Restart RStudio when the "Restart your R session to use the new versions." prompt appears in the "Console".

 

For Additional Assistance

For additional assistance or questions about this article, please contact itrss-support@missouri.edu

Print Article

Related Articles (1)

Index of RStudio guides