Re: [R] export many plots to one file

2007-01-07 Thread Jonne Zutt
Another thing to think about is about each individual scatter plot.
Aren't you plotting too much duplicate (x,y) values?
You could try to plot only unique values, or even try to filter out 
points that are very close.

__
R-help@stat.math.ethz.ch 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.


Re: [R] export many plots to one file

2007-01-04 Thread Greg Snow
The approach I would take (possibly due to ignorance of a better option)
is to export to the multiple .png files, then use a tool like
imagemagick to combine them into a single pdf file.

For a quick test I exported 3 graphs from R and called them test1.png,
test2.png, and test3.png.  The imagemagick command is then just:

convert test*.png test.pdf

Hope this helps,

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-8111
 
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of bogdan romocea
> Sent: Thursday, January 04, 2007 9:35 AM
> To: r-help
> Subject: [R] export many plots to one file
> 
> Dear useRs,
> 
> I have a few hundred plots that I'd like to export to one document.
> pdf() isn't an option, because the file created is 
> prohibitively huge (due to scatter plots with many points). 
> So I have to use png() instead, but then I end up with a lot 
> of files (would prefer just one).
> 
> 1. Is there a way to have pdf() embed images, instead of 
> vector instructions? (What would have to be changed/added, 
> and where? I'd consider that a very useful feature.)
> 
> 2. Does anyone have a script for importing many images (png, bitmap,
> jpg) into one PDF file? I'd prefer something that works both 
> on Windows and GNU.
> 
> Thank you,
> b.
> 
> __
> R-help@stat.math.ethz.ch 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.
>

__
R-help@stat.math.ethz.ch 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.


Re: [R] export many plots to one file

2007-01-04 Thread ONKELINX, Thierry
I can think of two options:
1. Use R2HTML and save the html output as PDF
2. Use Sweave and compile the LaTeX file to PDF. Search the mailing list
archive on how to save the graphs as png or jpeg (as Sweave will
standard generate eps or pdf graphs).

Cheers,

Thierry




ir. Thierry Onkelinx

Instituut voor natuur- en bosonderzoek / Reseach Institute for Nature
and Forest

Cel biometrie, methodologie en kwaliteitszorg / Section biometrics,
methodology and quality assurance

Gaverstraat 4

9500 Geraardsbergen

Belgium

tel. + 32 54/436 185

[EMAIL PROTECTED]

www.inbo.be 

 

Do not put your faith in what statistics say until you have carefully
considered what they do not say.  ~William W. Watt

A statistical analysis, properly conducted, is a delicate dissection of
uncertainties, a surgery of suppositions. ~M.J.Moroney

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens bogdan romocea
Verzonden: donderdag 4 januari 2007 17:35
Aan: r-help
Onderwerp: [R] export many plots to one file

Dear useRs,

I have a few hundred plots that I'd like to export to one document.
pdf() isn't an option, because the file created is prohibitively huge
(due to scatter plots with many points). So I have to use png()
instead, but then I end up with a lot of files (would prefer just
one).

1. Is there a way to have pdf() embed images, instead of vector
instructions? (What would have to be changed/added, and where? I'd
consider that a very useful feature.)

2. Does anyone have a script for importing many images (png, bitmap,
jpg) into one PDF file? I'd prefer something that works both on
Windows and GNU.

Thank you,
b.

__
R-help@stat.math.ethz.ch 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.

__
R-help@stat.math.ethz.ch 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.


[R] export many plots to one file

2007-01-04 Thread bogdan romocea
Dear useRs,

I have a few hundred plots that I'd like to export to one document.
pdf() isn't an option, because the file created is prohibitively huge
(due to scatter plots with many points). So I have to use png()
instead, but then I end up with a lot of files (would prefer just
one).

1. Is there a way to have pdf() embed images, instead of vector
instructions? (What would have to be changed/added, and where? I'd
consider that a very useful feature.)

2. Does anyone have a script for importing many images (png, bitmap,
jpg) into one PDF file? I'd prefer something that works both on
Windows and GNU.

Thank you,
b.

__
R-help@stat.math.ethz.ch 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.