# Set working directory (replace this with your own)
# Mac Users
setwd("/Users/yourname/Desktop/filename/filename")
# Windows Users
setwd("C:/Users/YourName/Documents/MyFolder")
# To check if the working directory is set correctly, use the following code:
# Returns the filepath of the current working directory
getwd()







Comments
It’s also important to annotate your code. It will help you write notes and explain what you are doing. To annotate your code, you will use the number sign #: