f_ep = "/Users/kmein/Desktop/project/data/csv-files/17SK_U1.csv"
listtxt_ep<-list.files(path = ep_dir, pattern="*.csv", full.names = T)
d_ep = data.frame()
for(f_ep in listtxt_ep){
tmp_ep <- read.delim(f_ep,header = T,row.names = NULL,fill = T) %>% as.data.frame(stringsAsFactors = F)
d_ep <- bind_rows(d_ep, tmp_ep)
}
I want to read in a bunch of csv files into R.
I want one document with all the csv files in it. But it gives me an error like this:
Error in make.names(col.names, unique = TRUE) : invalid multibyte string 1
The csv files are a table.