Re: [R] Figure environment and includegraphics options from Sweave

2008-05-18 Thread BXC (Bendix Carstensen)
nsen) > Cc: r-help@r-project.org > Subject: Re: [R] Figure environment and includegraphics > options from Sweave > > > On May 18, 2008, at 10:41 AM, BXC (Bendix Carstensen) wrote: > > > Tha handy thinb about the fig=TRUE option in Sweave is that > you do not > >

Re: [R] Figure environment and includegraphics options from Sweave

2008-05-18 Thread Charilaos Skiadas
On May 18, 2008, at 10:41 AM, BXC (Bendix Carstensen) wrote: Tha handy thinb about the fig=TRUE option in Sweave is that you do not have to bother about filenames and starting and stpping the device. I want the the resulting LaTeX to look as: \begin{Schunk} \begin{Sinput} x <- seq(-2 * pi, 2

[R] Figure environment and includegraphics options from Sweave

2008-05-18 Thread BXC (Bendix Carstensen)
Tha handy thinb about the fig=TRUE option in Sweave is that you do not have to bother about filenames and starting and stpping the device. I want the the resulting LaTeX to look as: \begin{Schunk} \begin{Sinput} > x <- seq(-2 * pi, 2 * pi, 0.1) > plot(x, cos(x), type = "l", lwd = 4) \end{Sinput}