# Re: [R] LaTeX and R-scripts/-results

From: Oliver Bandel <oliver_at_first.in-berlin.de>
Date: Sun, 30 Nov 2008 00:34:13 +0100

Hello Thomas (and all),

Zitat von Thomas Petzoldt <thpe_at_simecol.de>:

> Oliver Bandel wrote:
> > Hello,
> >
> > LaTeX and R.
> >
> > Can you give me a starting point, where I can find
> >
> > Are there special LaTeX-packages for the support,
> > or does R have packages for support of LaTeX?
> > Or will an external Code-Generator be used?
> >
> > TIA,
> > Oliver
>
>
> Hi Oliver,
>
> you are right, LaTeX and R are perfect companions. Look for
> "Sweave"(*).
> You find an introduction of Fritz Leisch in R-News 2002, Vol 2/3:
>
> http://cran.r-project.org/doc/Rnews/Rnews_2002-3.pdf
[...]

OK, really wonderful tool!

This is something, I'm looking for since many years... ... maybe about a decade....

... R as graphical pre-processor and data-analyser for LaTeX, and LaTeX as a tool to write papers with analysed data imported into the papers.

This noweb-based approach (literate programming is so wunderful) is so much better than the many workarounds with so many other tools. When I remember -- for example -- metapost and the problem of not being able to name the outputs arbitrarily (using numbers for the figures is the only possibility), and hand made inserting the results with \includegraphics, this is so much better!

Maybe noweb can also be used to insert not only R-stuff but also creations from metapost, dia, dot (graphviz) and other tools into a LaTeX-document.

This is the right way to make documents and research clean and handy. :)

Ciao,

Oliver

R-help_at_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. Received on Sat 29 Nov 2008 - 23:41:44 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 30 Nov 2008 - 00:30:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.