Re: [R] Thin frame line around R pdf output in LaTeX

From: Joseph Retzer <joe_retzer_at_yahoo.com>
Date: Sat, 26 Jul 2008 10:32:43 -0700 (PDT)


Thanks for the information, and correcting my poorly written post. Applying the patch solved the problem. Joe Retzer

There is no 'R 2.7' (see the posting guide). Have you followed the advice
in the posting guide of using the latest (R-patched) version of R? I believe that this has been fixed since 2.7.0.

Please note Mac-specific issues as such on the subject line, and preferably ask them on the R-sig-mac list. What you describe is *not* 'R pdf output', but MacOS X pdf output from R.app. Apart from not assigning blame to innocent parties (such as the authors of the pdf() device), it helps people to help you if you don't use misleading descriptions.

On Fri, 25 Jul 2008, Joseph Retzer wrote:

> I'm using R 2.7 on an Intel MAC.
>
> When I produce a pdf graph, I save the output window from the menu to a
> pdf file. This gives a very nice quality graph.

Eh? I think you mean when you plot on a quartz() device and save its output to PDF, this is what happens. You will get high (not just 'nice')
quality output by using the pdf() device directly, and you can also use quartz(type="pdf").

> However when I include the graph in a LaTeX document (actually beamer
> presentation) using \includegraphics I get a graphic with a very light

> framebox around the outside. Note, I'm not using a fbox command in
> LaTeX.
>
> Not sure if this is something produced in R, LaTeX or beamer but if
> anyone has any suggestions (for getting rid of the frame) I'd greatly
> appreciate hearing from you.

> Thanks all,
> Joe Retzer

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
	[[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.
Received on Sat 26 Jul 2008 - 17:39:32 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 26 Jul 2008 - 18:32:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive