Displaying 1 result from an estimated 1 matches for "mytangle".
Did you mean:
myangle
2007 May 18
1
How to extract R codes that embedded in a HTML file
...e reason for
> 'Stangle' is not working with .rnw file with HTML due to there is no proper
> driver available (like RweaveHTML driver for Sweave)? If yes, does R2HTML
> package have plans to provide a such driver?
> ....Tao
The following does the trick for me:
R> mytangle <- function ()
list(setup = RtangleSetup, runcode = utils:::RtangleRuncode,
writedoc = RtangleWritedoc,
finish = utils:::RtangleFinish, checkopts = RweaveHTMLOptions)
R> Stangle("/PATH/TO/R/SITE-LIBRARY/R2HTML/samples/example1.snw",
driver=mytangle)
Writing...