[R] Second summary [( S|odf)weave : how to intersperse (\LaTeX{}|odf) comments in source code ? Delayed R evaluation ?]

Emmanuel Charpentier emm.charpentier at free.fr
Tue Dec 14 00:22:47 CET 2010


Dear list,

The "starting" solution proposed by Duncan Murdoch is an *excellent* 
start for Sweave'ing. One can trivially redefine Sweave to start using it 
quasi-transparently (to use it transparently would require patching 
Sweave, which would be worth some failsafes and possibly options 
tinkering).

Integrating it on odfWeave is not as simple, because the driver as to 
spit out correct XML. I suspect that the odfCat() function of odfWeave 
will be useful, but my (very) cursory glance at odfWeave source did not 
(yet) ensured me that one could use the shortcuts that the simple 
structure of \TeX{} file allows. XML *needs* some caution, and the Open 
Document specification is *not* a simple beast. However, I have good 
hopes.

I'll keep the list posted about further enhancements, as my (somewhat 
busy) schedule will allow.

Again, kudos and a big thank you to Duncan Murdoch, who was able to give 
a *correct* solution before I have been able to *correctly* state the 
problem.

					Emmanuel Charpentier

On Sat, 11 Dec 2010 22:58:10 +0000, Emmanuel Charpentier wrote :

[ Snip... ]



More information about the R-help mailing list