Working Directory

A working directory is where R reads and saves files. I recommend you to always set the working directory before working with R.

You can set the working directory by using setwd(). Specify the path to the folder inside the parentheses.

* Hit Ctrl+Enter or Ctrl+r to run codes