Unless you aren't writing scripts why wouldn't you just use something like
this?
x=c(1,2,3)
pdf(RRules.pdf)
plot(x,x)
dev.off()
--
View this message in context:
http://r.789695.n4.nabble.com/Can-I-set-default-parameters-for-the-default-graphics-device-tp2290827p2290836.html
Sent from the
On 07/15/2010 07:10 PM, James wrote:
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.
Since you're completely new to R, I
On Thu, Jul 15, 2010 at 8:36 PM, Sam Albers tonightstheni...@gmail.comwrote:
Unless you aren't writing scripts why wouldn't you just use something like
this?
I'm writing scripts, and this is a convenience feature I'm trying to
implement. I know it can be done manually, but I'd love to be
On Thu, Jul 15, 2010 at 8:43 PM, Erik Iverson er...@ccbr.umn.edu wrote:
On 07/15/2010 07:10 PM, James wrote:
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
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
Erik,
On Thu, Jul 15, 2010 at 9:27 PM, Erik Iverson er...@ccbr.umn.edu wrote:
Isn't that what you can do after you define mypng and set
options(device = mypng)
Thank you! I completely missed the second part where you use that as
the default device. I must have skimmed your email.
I'm
6 matches
Mail list logo