[ESS] Beginner: ESS and Sweave - process selected region of Snw-file
tuechler at gmx.at
Sun Mar 6 23:53:38 CET 2005
At 22:49 06.03.2005 +0100, A.J. Rossini wrote:
>You can evaluated whole chunks as well as threads (i.e. chunks sharing
>the same name, Noweb-style). The modes ought to be rewritten a bit
>better; the current adaptation of noweb mode is awfully shaky,
>especially for cross-chunk-type activities.
>Someone else will have to work a bit more on the ESS side of things
>for this; the literate programming stuff is no longer part of my day
>job (though hopefully it'll change again in a few years).
Thank you for your answer. I am sorry that you don't continue to work on
"the literate programming stuff". Seems that if I want to use it, I will
have to work for it.
Coud you give me a hint how to evaluate threads of chunks (I suppose you
intend threads of code-chunks with documentation-chunks in between) or
where to find documentation about it?
>On Sun, 06 Mar 2005 21:59:36 +0100, Heinz Tuechler <tuechler at gmx.at> wrote:
>> trying to use ESS and Sweave I am looking for a function to pass a region
>> of a Snw-file to R. I know that I can select a code chunk and let it
>> execute, but I would be happy, if it was easily possible to select some
>> region of the file including a mix of code- and documentation chunks and
>> have the code chunks executed.
>> I found a posting of david.whiting at ncl.ac.uk from Wed Sep 1 14:55:52
>> CEST 2004 with very useful functions to Sweave the entire file but in
>> developing a command file it would be convenient to execute only parts of a
>> file. I imagine something like Stangle the selected region and then
>> evaluate it.
>> I guess someone experienced has already in use such functions.
>> Heinz Tüchler
>> ESS-help at stat.math.ethz.ch mailing list
>"Commit early,commit often, and commit in a repository from which we can
>roll-back your mistakes" (AJR, 4Jan05).
>blindglobe at gmail.com
More information about the ESS-help