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=".csv")
#Loop over file list importing them and binding them together
D1 <- do.call("rbind",lapply(file.list, read.csv, header = TRUE, stringsAsFactors = FALSE))
This is the error I get when I run do.call
line above.
Error in file(file, "rt") : cannot open the connection
I've tried resetting my wd. My current getwd()
is
~/R/natural-language-processing
I've looked through the other
Error in file(file, “rt”): cannot open connection