Have a look at Sweave, which embeds R and LaTeX code in a single file http://www.stat.uni-muenchen.de/~leisch/Sweave/ Cheers, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://email.esm.psu.edu/pipermail/macosx-tex/attachments/20090401/b0385c26/attachment.html>