search for: rtangleruncode

Displaying 3 results from an estimated 3 matches for "rtangleruncode".

2020 Jul 08
1
Adding RtangleRuncode and RtangleFinish to exports of utils
Hi, Could R-Core consider adding 'RtangleRuncode' and 'RtangleFinish' to the exports of utils. Their weave equivalent 'makeRweaveLatexCodeRunner' and ?'RweaveLatexFinish' are exported, as well as the other tangle utility functions 'RtangleSetup' and 'RtangleWritedoc'. The rationale is not just symmetry...
2007 Apr 07
1
bug in Stangle(split=TRUE)
...tten to a single file rather than two separate files (if the chunk who's name is a prefix comes after the other chunk). Running 'Stangle(split=TRUE)' with the attached 'test1.Rnw' file should reproduce the problem. I think it boils down to a partial matching problem in 'RtangleRuncode'. I've attached a patch against R-alpha (r41020) which I think fixes this problem but I'm not sure it's necessarily the best approach (there are other instances of this construction in the code). -roger -- Roger D. Peng | http://www.biostat.jhsph.edu/~rpeng/ --------------...
2007 May 18
1
How to extract R codes that embedded in a HTML file
...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 to file example1.R Best, Fritz