The R environment always points to a certain directory on our computer, which is known as the working directory.
We can get the current working directory with getwd
Type that in a new chunk. What is your current working directory?
The R environment always points to a certain directory on our computer, which is known as the working directory.
We can get the current working directory with getwd
Type that in a new chunk. What is your current working directory?
Create a new folder called “week3”
Then set the directory using setwd
To know the directory on a MacOS, you go to the week3 folder and click on “Get Info”
Select what is in the “Where” section