I am executing the following loops in R 15.1.0 and the first one works and produces results. However, the second one is not with initiating the object as x[i]. Further, I was able to get the second loop work in R 15.0. Am I missing something here?
for(i in 1:length(b)) {y[i]<-paste(a,b[i],c,sep="") print(y[i]) print(fromJSON(file=y[i],method="C")) } for(i in 1:length(b)) {x[i]<-paste(a,b[i],c,sep="") print(x[i]) print(fromJSON(file=x[i],method="C")) } Thanks Arun -- View this message in context: http://r.789695.n4.nabble.com/Mystery-tp4634758.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.