我正在运行以下代码...
#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))
Run Code Online (Sandbox Code Playgroud)
这是我在do.call上面的行中运行时遇到的错误。
文件错误(文件,“ rt”):无法打开连接
我试过重设我的wd。我目前getwd()是
~/R/natural-language-processing
Run Code Online (Sandbox Code Playgroud)
我看过另一个
文件错误(文件,“ rt”):无法打开连接