Hello,

I would add that it's probably better to assign
for(i in seq_along(file.names)){
  A[[i]] <- extract_tables(file.names[i])
}


(It's a list so double [[, not just [).

Hope this helps,

Rui Barradas

Às 01:45 de 23/09/2018, Bert Gunter escreveu:
for(i in 1:length(file.names)){
   A[i] <- extract_tables(file.names[i])}
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to