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

Summary

A step-by-step guide for restoring a snapshot on an RStudio project with Renv.

Body

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

Details

Details

Article ID: 1718
Created
Mon 9/29/25 2:41 PM
Modified
Mon 2/16/26 1:34 PM

Related Articles

Related Articles (1)

Index of RStudio guides