Re: [R] Looping Problem

From: Dieter Menne <dieter.menne_at_menne-biomed.de>
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.

Dieter

--
View this message in context: http://r.789695.n4.nabble.com/Looping-Problem-tp3397077p3397325.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help_at_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.
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive