[R] create objects in a loop and adding sqlQuery content to them

Steven McKinney smckinney at bccrc.ca
Tue Apr 21 02:31:31 CEST 2009


> 
> >
> > #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




More information about the R-help mailing list