Re: [R] vector in filename

From: [Ricardo Rodriguez] Your XEN ICT Team <webmaster_at_xen.net>
Date: Fri, 18 Apr 2008 16:35:12 +0200

Mark,

Mark Leeds wrote:
> Oh, I'm sorry that didn't work. If you have time, can you resend it to me if
> you still have it ( I don't ) cause I'd like to see why. Thanks.

My fault! It does work! I've tried it this morning quickly, before leaving my SOHO, and it seems I was making any mistake. It does perfectly works as here...

x=1
y=1
max=10
myfiles <- paste("foo", x:max, ".png", sep="") while (x =< max)

    {

        png(file=myfiles[x], pointsize = 20, width = 600, height = 600, units = "px", bg="#eaedd5")

        plot(x,y)
        dev.off()  
        x=x+1
        y=y+1

    }

Thank you so much for your help and sorry for the noise!

Cheers,

Ricardo

-- 
Ricardo Rodríguez
Your XEN ICT Team

______________________________________________
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 Fri 18 Apr 2008 - 16:47:35 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 Fri 18 Apr 2008 - 17:30:30 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