Re: [R] Looping Problem

From: Dieter Menne <>
Date: Tue, 22 Mar 2011 11:27:22 -0700 (PDT)

armstrwa wrote:
> for(i in 1:length(gagehandles)){
> dates<-get(paste(gagehandles[i],"_amsd",sep=""))
> Error in get(paste(gagehandles[i], "_amsd", sep = "")) :
> variable names are limited to 256 bytes
> ....
> It didn't have a problem with the variable names before, so I'm not sure
> what's going on now. Does anyone have an idea?

Add a print(gagehandes[i]) after the { to find out what was wrong.


View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 22 Mar 2011 - 18:31:26 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 Mar 2011 - 18:50:23 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive