Check the output of getwd(), this is the current working directory. If the CSV file is not in this directory, then we need to provide the full path.
Now type: mydata <- read.csv(" then press TAB, this will help us auto-populate (auto-complete) the path to the file. Once we have the path and name of the file type ") and run.