Or use the software Highlight: http://www.andre-simon.de/ (Remember that you may need to change the R definition file 'r.lang' using the function highlight.def() in package 'animation')
P. S. sorry Dale, I often forget to click "Reply to all" and as a result, send my reply to a single person :-( Yihui On Sun, Sep 14, 2008 at 1:30 AM, Daren Tan <[EMAIL PROTECTED]> wrote: > > I am generating a report containing several R scripts in the appendix. Is > there any way to "beautify" the R source codes in microsoft word, similar to > what we see in tinn-R ? > > Thanks -- Yihui Xie <[EMAIL PROTECTED]> Phone: +86-(0)10-82509086 Fax: +86-(0)10-82509086 Mobile: +86-15810805877 Homepage: http://www.yihui.name School of Statistics, Room 1037, Mingde Main Building, Renmin University of China, Beijing, 100872, China ______________________________________________ R-help@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.