> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jim
> Lemon
> Sent: Thursday, November 05, 2015 12:25 PM
> To: Stefano Sofia
> Cc: r-help@r-project.org
> Subject: Re: [R] How to change name of pdf output of function windRose
> in o
iginal Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jim
> Lemon
> Sent: Thursday, November 05, 2015 12:25 PM
> To: Stefano Sofia
> Cc: r-help@r-project.org
> Subject: Re: [R] How to change name of pdf output of function windRose
> in openair pack
Hi Stefano,
Just start the PDF device, do the plot, then close the PDF device:
library(openair)
...
data(mydata)
pdf("windRose.pdf")
windRose(mydata)
dev.off()
This is from the first example for the windRose function. It will produce a
file named "windRose.pdf" in the working directory of R.
Jim
Dear r-list users,
I am using windRose within the openair package.
Automatically the wind rose is saved in a pdf file called Rplots.pdf .
I need to apply this function to different data frames, and each time I need to
change automatically the name of the pdf output.
I am not able to do it, I read
4 matches
Mail list logo