Displaying 1 result from an estimated 1 matches for "seq_alonmg".
Did you mean:
seq_along
2011 Apr 27
1
Eval to write many files
Dear all
I am looking for a shorter way and more elegant to write the following
for (i in c(1:length(Shadowlist))){
filename<-paste('/home/apa/maps/',model,i,'.mat',sep="")
varname<-paste(model,'_shadow',i,sep="")
eval(parse(text=paste('writeMat(filename,',varname,'=Shadowlist[[i]])',sep="")))
}
actually I do not