← Other topics

Why You Should Be Using RStudio Projects

Video Notes

Data analysis projects often contain many files - the data itself, R scripts to work with the data, graphs and visualizations generated from the data, documentation, etc.

To organize all this content (and make it easily shareable with colleagues or peers), you can take advantage of an RStudio feature called Projects.

RStudio Projects organize your content into a “container” with its own working directory (where your analysis occurs), workspace (where R activity and output are temporarily saved), history, and documents.

When sharing your work, you can simply share the RStudio Project with collaborators, and they’ll have everything they need to work with your analysis and its related components.

Managing RStudio Projects

On the top right of RStudio is the Project dropdown where you can create new Projects as well as open and manage existing Projects:

RStudio’s Projects dropdown menu

Here are the steps for creating a new Project:

Steps for creating a new Project in RStudio

What happens when you create a new Project?

When you create a new Project in RStudio the following things happen:

1. A New Project Directory is Created (or an Existing One is Used)

2. An .Rproj File is Created

3. The Working Directory is Set

4. A Separate Environment is Used

5. History, Settings, and Open Files are Saved

Why Use Projects?

Learn more about RStudio Projects in the official RStudio documentation...

Unlock all the notes for $4

No subscriptions, no auto-renewals.

Just a simple one-time payment that helps support my free, to-the-point videos without sponsered ads.

Unlocking gets you access to the notes for this video plus all 200+ guides on this site.

Your support is appreciated. Thank you!

Payment Info

/
$4 6 months
$25 forever
Please check the form for errors
Questions? help@codewithsusan.com
← Other topics