Skip to content
Prev 327471 / 398502 Next

help with apply (lapply or sapply not sure)

Hi

I would just use for cycle. Something like

lll <- vector("list", length(InputFiles))
for (i in InputFiles) {

everything what you want to do for each file
you can store it in a list
lll[[i]] <- whatever you want to store there

}

After populating list you can do anything with it.

Regards
Petr