[R] Saving R Graph to a file

John jwd at surewest.net
Sun Nov 4 11:03:00 CET 2012


On Sat, 3 Nov 2012 21:16:49 -0700 (PDT)
frespider <frespider at hotmail.com> wrote:

You're leaving out some critical information like the error messages, if
any, you receive.  That said, your example won't work properly because
it is not properly coded.

FI'm sure it gets tiresome being told to read the manual, but that is
the way you learn R.  For poscript output you need to read
"?postscript()" and follow the information there.  There are important
differences in detail between png(), pdf(), and postscript() that are
critical. CAREFULLY read the help for postscript(), and also check into
dev.off() use too. Your example doesn't restore things properly.  If
you do the above, you'll discover what is wrong with your example.


JWDougherty




More information about the R-help mailing list