[R] Looping Problem

Dieter Menne dieter.menne at menne-biomed.de
Tue Mar 22 19:27:22 CET 2011


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.



More information about the R-help mailing list