I'm trying to read multiple csv files and store them in 1 dataframe. What I did is:
files <- list.files(path="the path/", pattern="*.csv")
df = lapply(files, read.csv,sep = ";", encoding = "ISO-8859-1")
I've tried also sapply
.
I'm getting:
Error in file(file, "rt") : cannot open the connection cannot open file 'onefile.csv': No such file or directory