Setting Up a Working Directory in R

When beginning to work with R code, the first thing that you need to do is setup a working directory. A working directory is a location on your computer from which R will read and write files to. You can choose any location/folder on your computer where you want to save your code and set that as the working directory.

Create Your Free Account

Create a free account to access this content and join our community of learners.

You'll get access to:

  • Access the full tutorial
  • Join our learning community
  • Track your progress
  • Bookmark content for later