Re: [R] using Sweave, how to save a plot in a given size

2009-04-15 Thread cls59
Lo_Lo wrote: > > > I just want to add that I didn't have any overful box before I use : > > <>= > pdf("fig1.pdf", > width = wid, heigth = hei) > plot(1:10) > plot(1:10) > dev.off() > cat("\\begin{figure}[h]") > cat("\\centering") > cat("\\multido{\i=1+1}{7}{\includegraphics[page=\i,width=1.5i

Re: [R] using Sweave, how to save a plot in a given size

2009-04-15 Thread Lore M
can you provide us (an sample example of) the LaTeX code the yields the overfull box. Van: Lore M [mailto:tchiba...@hotmail.com] Verzonden: woensdag 15 april 2009 15:44 Aan: ONKELINX, Thierry; R Help Onderwerp: RE: [R] using Sweave, how to save a plot in a given size After few corrections, it doe

Re: [R] using Sweave, how to save a plot in a given size

2009-04-15 Thread Lore M
uot;\\" or with "\linebreak" but it still doesn't want to work. Subject: RE: [R] using Sweave, how to save a plot in a given size Date: Wed, 15 Apr 2009 16:29:38 +0200 From: thierry.onkel...@inbo.be To: tchiba...@hotmail.com; r-help@r-project.org This seems more a LaTeX pro

Re: [R] using Sweave, how to save a plot in a given size

2009-04-15 Thread ONKELINX, Thierry
can be extracted from a given body of data. ~ John Tukey Van: Lore M [mailto:tchiba...@hotmail.com] Verzonden: woensdag 15 april 2009 15:44 Aan: ONKELINX, Thierry; R Help Onderwerp: RE: [R] using Sweave, how to save a plot in a given size After few corrections

Re: [R] using Sweave, how to save a plot in a given size

2009-04-15 Thread Lore M
ld I do to correct that ? Thanks. > Subject: RE: [R] using Sweave, how to save a plot in a given size > Date: Wed, 15 Apr 2009 13:55:57 +0200 > From: thierry.onkel...@inbo.be > To: tchiba...@hotmail.com; wolfgang.raffelsber...@igbmc.fr; > r-help@r-project.org > > Dear Lore, >

Re: [R] using Sweave, how to save a plot in a given size

2009-04-15 Thread ONKELINX, Thierry
a. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens Lore M Verzonden: woensdag 15 april 2009 13:46 Aan: wolfgang.raffelsber...@igbmc.fr; R Help Onderwerp: Re: [R] using Sweave, how to save a plot in a given size Yes

Re: [R] using Sweave, how to save a plot in a given size

2009-04-15 Thread Lore M
fr > To: tchiba...@hotmail.com > CC: r-help@r-project.org > Subject: Re: [R] using Sweave, how to save a plot in a given size > > Hi I do somthing like: > > \SweaveOpts{prefix.string=proj1} > > <>= > plot(1:10) > @ > > \begin{figure} > \includegr

Re: [R] using Sweave, how to save a plot in a given size

2009-04-14 Thread Wolfgang Raffelsberger
Hi I do somthing like: \SweaveOpts{prefix.string=proj1} <>= plot(1:10) @ \begin{figure} \includegraphics {proj1-fig1} %% show \label{..} \end{figure} Wolfgang Lore M a écrit : Hi, I'm trying to realise a repport with R and Latex (TeXnicCenter and Miktex for Windows) using

[R] using Sweave, how to save a plot in a given size

2009-04-14 Thread Lore M
Hi, I'm trying to realise a repport with R and Latex (TeXnicCenter and Miktex for Windows) using Sweave(). I'd like to save my plots in a given size. How can I do that ? The code is : \SweaveOpts{prefix.string = figs/plot, eps = FALSE, pdf = TRUE} <>= plotFunction() @ \includepdf[pa