[R] Doubt about Sweave

Ronaldo Reis-Jr. chrysopa at gmail.com
Wed Sep 21 15:06:38 CEST 2005


Hi,

At this moment, I make my R output using comments and latex tags in R.
Something like this:

### make a plot
plot(y~x)
dev.copy2eps(file="plot.eps")
# @\includegraphics[width=\linewidth]{plot}@
...

After I include the file saved with this code in a latex document using the 
listings package.

It work.

I reading about Sweave and it make a good output. But all example is made with 
R commands mades in a file. Is possible to make an output with sweave 
interactively in R and after the analysis end export the latex code to a 
file?

Thanks
Ronaldo
-- 
And on the seventh day, He exited from append mode.
--
|>   // | \\   [***********************************]
|   ( õ   õ )  [Ronaldo Reis Júnior                ]
|>      V      [UFV/DBA-Entomologia                ]
|    /     \   [36570-000 Viçosa - MG              ]
|>  /(.''`.)\  [Fone: 31-3899-4007                 ]
|  /(: :'  :)\ [chrysopa at insecta.ufv.br            ]
|>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ]
|    ( `-  )   [***********************************]
|>>  _/   \_Powered by GNU/Debian Woody/Sarge




More information about the R-help mailing list