[R] Can I set default parameters for the default graphics device?

Erik Iverson eriki at ccbr.umn.edu
Fri Jul 16 03:27:03 CEST 2010


<snip>
> So instead of:
>
>  > mypng()
>  > x=c(1,2,3)
>  > plot(x,x)
>
> I can just do:
>
>  > x=c(1,2,3)
>  > plot(x,x)

Isn't that what you can do after you define mypng and set

options(device = "mypng")

?



More information about the R-help mailing list