runjumpfly runjumpfly - 6 months ago 47
R Question

reading and saving large files rds files in a single rds file with a filename column

I have a list that contain many large files. All the files have the same column names. I want to combine them into an rds file and save.

list.nam<- list.files(pattern="*.I S")
list.fil <- lapply (list.nam, readRDs)

Error in : object 'readRDs' not found


You have entered a incorrect function name, replace readRDs with readRDS it works

list.fil <- lapply (list.nam, readRDS)