Skip to content
R for the Rest of Us Logo

An Important Workflow Tip


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

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.