Skip to content
Back to formatted view

Raw Message

Message-ID: <0166955C4F625B4C81E0F436DE443C980104CC@VAIEXCH02.vai.org>
Date: 2002-08-13T15:50:02Z
From: Kort, Eric
Subject: Document R sourcecode with Tex

> -----Original Message-----
> From: Daniel Hoppe [mailto:hoppe at sitewaerts.de]
> Hi,
> 
> I'm actually afraid that this is a RTFM question - I read the 
> manual but
> didn't find anything yet... I'm looking for a way to document 
> R sourcecode
> in my thesis. Does anyone know of a tool or function which 
> can convert or
> export R sourcecode to Tex? 
> 
> Thanks for any hints!
> 
> Best Regards,
> 
> Daniel

Check out the listings tex package, available from ctan.tug.org.  It is designed to format source code (of any variety), including line numbers, etc, if desired.

hth,
Eric
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._