Thank you Bert and Rui. Everything mentioned on your posts was OK with the exception of a typo in my original post where [a] was instead [[a]]. I stumbled one something that stated if i delete the sub-directory and create it it again might work. In my case once that was done, it worked.
Thanks again, EK On Sun, Sep 23, 2018 at 5:30 AM Rui Barradas <ruipbarra...@sapo.pt> wrote: > > 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.