I'm completely new to R, and I'd like to do something like this:

    > x=c(1,2,3)
    > plot(x,x)

At this point, R creates a file "Rplots.pdf", since the default device is
PDF and the default filename is "Rplots.pdf".  I know I can set the default
device like this:

    > options(device="png")

But is there a way to set the default device's default filename?

Thanks!

        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to