[R] PDF append help
somewhereondearth
somewhereond.earth at gmail.com
Mon Feb 16 19:29:22 CET 2009
Hi,
I need to append my multiple plots in pdf files.
my problem is that I would want to run the R script a number times(closing
and opening) and still want to append. If i keep the dev.off() it wouldnt
let me see my plots while R is open.
any idea!!
Jorge Ivan Velez wrote:
>
> Hi Ramya,
>
> Perhaps
>
> pdf("C:/100plots.pdf")
> for(i in 1:100) plot(rnorm(10), type='b', main='My 100 plots')
> dev.off()
>
> HTH,
>
> Jorge
>
>
> On Tue, Aug 5, 2008 at 12:41 PM, Rajasekaramya
> <ramya.victory at gmail.com>wrote:
>
>>
>> hi there,
>>
>> Is there any function to append the pdf file.
>>
>> I want to write in a pdf file some 100 plots(in one single pdf containing
>> 100 plots) while all the plot are created using a for loop.
>>
>> I can create 100 pdf one for each for each plot using a for loop but i
>> want
>> only one pdf with 100 plots.
>>
>> Ramya
>> --
>> View this message in context:
>> http://www.nabble.com/PDF-append-help-tp18835069p18835069.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> R-help at 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.
>>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>
>
--
View this message in context: http://www.nabble.com/PDF-append-help-tp18835069p22042954.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list