**From:** Harold Doran (*hdoran@nasdc.org*)

**Date:** Tue 23 Mar 2004 - 03:41:19 EST

**Next message:**Duncan Murdoch: "Re: [R] how to loop through names ?"**Previous message:**Prof Brian Ripley: "Re: [R] problem with seasonal arima"**Maybe in reply to:**Rado Bonk: "[R] R commands formating for LaTeX"**Next in thread:**Jan Goebel: "Re: [R] R commands formating for LaTeX"

Message-id: <66578BFC0BA55348B5907A0F798EE9306635BE@ernesto.NASDC.ORG>

Yes, there is a very good library called Sweave that allows for you to embed all R code, figures, tables into a LaTeX document.

HCD

-----Original Message-----

From: Rado Bonk [mailto:rado.bonk@jrc.it]

Sent: Monday, March 22, 2004 11:27 AM

To: r-help@stat.math.ethz.ch

Subject: [R] R commands formating for LaTeX

Dear R users,

I have to include typical UNIX formated R commands and outputs into the

article using LaTeX.

What is the easiest way to include R prompt commands and text outputs

(including messages) into LaTeX documents? Is there any template or library?

So far I'm trying to produce R commands in LaTeX using LaTeX general

format options.

Thanks,

Rado

______________________________________________

R-help@stat.math.ethz.ch mailing list

https://www.stat.math.ethz.ch/mailman/listinfo/r-help

PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

______________________________________________

R-help@stat.math.ethz.ch mailing list

https://www.stat.math.ethz.ch/mailman/listinfo/r-help

PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

**Next message:**Duncan Murdoch: "Re: [R] how to loop through names ?"**Previous message:**Prof Brian Ripley: "Re: [R] problem with seasonal arima"**Maybe in reply to:**Rado Bonk: "[R] R commands formating for LaTeX"**Next in thread:**Jan Goebel: "Re: [R] R commands formating for LaTeX"

*
This archive was generated by hypermail 2.1.3
: Fri 23 Apr 2004 - 18:36:39 EST
*