I am running the following code...
#Create a list of all the files file.list <- list.files(path=\"~/R/natural-language-processing/class-notes\", pattern=\".cs
In my case, the problem was that inside the directory with the *.csv files was also another directory. As soon as I moved the directory from the folder, the specific error disappeared.