Skip to content
R for the Rest of Us Logo

An Important Workflow Tip

This lesson is locked

Get access to all lessons in this course.

If the video is not playing correctly, you can watch it in a new window

Transcript

Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

Your Turn

In RStudio, go to Tools > Project Options. From there, make the following changes:

Learn More

Jenny Bryan and Jim Hester have written about why it’s best practice to not restore .RData at startup as part of their What They Forgot to Teach You About R workshop. See, in particular, Chapter 1 of their materials, where they write:

Saving code – not workspaces – is incredibly important because it is an absolute requirement for reproducibility. Renouncing .Rdata and restarting R often are not intrinsically important or morally superior behaviours. They are important because they provide constant pressure for you to do the right thing: save the source code needed to create all important artefacts of your analysis.

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.

Shira Solomon

Shira Solomon

April 7, 2022

The Tools menu didn't let me select Project Options, but I could get to the same options in the Global Options. Does it matter?