[Rd] improving ?RweaveLatex

Liviu Andronic landronimirc at gmail.com
Sat Aug 22 21:45:15 CEST 2009


Dear developers
Please read below.

On 6/25/09, Marc Schwartz <marc_schwartz at me.com> wrote:
>  You can use the following *after* the \begin{document} directive:
>   \setkeys{Gin}{width=0.8\textwidth}
>
>  The above is the default. Reset it to what you would like.
>
>  Note, as per that manual page, that the Sweave options 'height' and 'width'
> affect the size of the PDF and EPS files created, but it is the above
> command that controls the size of the image in the document itself.
>
Could this information be incorporate into the RweaveLatex help page?
Concerning the sizes of graphs, it contains only the following
information:
"
     width: numeric (6), width of figures in inches.
     height: numeric (6), height of figures in inches.
"
Unfortunately this concise information can easily mislead into
believing that these two options affect the graphs dynamically
produced and included in the final .pdf file. It might help for these
two sentences to specify what figures they're affecting, and also to
include some info about "\setkeys{Gin}{width=0.8\textwidth}".
Thank you
Liviu



More information about the R-devel mailing list