> > > > > #Here my first try [error message on the line within the loop, saying > > something like: > > # 'recursive indexing on level 2 failed'] > > sites_object_list <- vector("list",99) > > If there's a site number larger than 99 this will be problematic.
Sorry, this isn't correct - R will just increase the list size if a site number is bigger than 99. Steve McKinney ______________________________________________ R-help@r-project.org mailing list 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.