Monday, January 24, 2011

Converting Sweave Rnw to HTML

It took loooooooooong time to figure out how we can convert all these huge Rnw to HTML, but apparently this is the way to go:

Install TtH
R CMD Sweave myRnwfile
sweave2html mytexfile

http://biostat.mc.vanderbilt.edu/wiki/Main/SweaveConvert

It says some words about handling graphics, but I rather commented graphics-related lines (lines 2-4) in the sweave2html script and things go fine with graphics.

0 comments:

Post a Comment