markheckmann wrote:
> 
> 
> The pdf() settings do not affect Sweave settings when producing a .pdf
> graphic. How can I change the Sweave default settings to e.g. 3 inch?
> 
> 

Try setting the width and height options in the figure chunk:

<<fig1,echo=F,plot=T,pdf=T,width=5,height=3>>
    plot(1:10
@

To make a certain set of dimensions the defaults, use \SweaveOpts:

\SweaveOpts{width=5,height=3}

-Charlie



-----
Charlie Sharpsteen
Undergraduate
Environmental Resources Engineering
Humboldt State University
-- 
View this message in context: 
http://www.nabble.com/changing-Swaeve-output-settings-for-.pdf-and-.eps---is-there-a-way--tp23078496p23091546.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@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.

Reply via email to