<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") ? ______________________________________________ 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.