search for: eaedd5

Displaying 1 result from an estimated 1 matches for "eaedd5".

2008 Apr 18
5
vector in filename
...generate a group of graphics with an iteration. Some thing like this... x=1 y=1 max=10 myfiles <- paste("foo", x:max, ".png", sep="") while (x =< max) { png(file=myfiles, pointsize = 20, width = 600, height = 600, units = "px", bg="#eaedd5") plot(x,y) dev.off() x=x+1 y=y+1 } I am getting only one *.png file with the name of the first position in myfiles and the content of the last graphic in the iteration. Please, could you tell me if it is possible to iterate file= in any other way? Th...