Lesson 6 · Projects

What you will learn in this lesson

- The problems projects solve
- How to create a project
- How to move a project
- How to rename a project

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.