When we wrote our first code in lesson 4, we:
- created a new file and saved it
- wrote some code
- ran said code
For simple coding endeavors like the one in lesson 4, this workflow is fine. But when you work on larger projects, this workflow will soon become painful—and prone to create avoidable errors you will spend a lot of time debugging.
Projects are a built-in feature of RStudio that is designed to simplify our workflow. Projects save time, they prevent a lot of errors from happening, and they help us to keep our code organized.
If you have already purchased the course, you can log in with the button at the top of the lesson