[ESS] Beginner: ESS and Sweave - process selected region of Snw-file

A.J. Rossini blindglobe at gmail.com
Mon Mar 7 05:20:27 CET 2005


For threads, 

M-x ess-eval-thread

or use the menu item pull-down.

M-x find-function <ret> ess-eval-thread

should get you the code if you want to look.

best,
-tony
 


On Sun, 06 Mar 2005 23:53:38 +0100, Heinz Tuechler <tuechler at gmx.at> wrote:
> 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).
> >
> >best,
> >-tony
> >
> 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?
> 
> Heinz
> 
> >
> >On Sun, 06 Mar 2005 21:59:36 +0100, Heinz Tuechler <tuechler at gmx.at> wrote:
> >> Hello,
> >>
> >> 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.
> >>
> >> Thanks,
> >>
> >> Heinz Tüchler
> >>
> >> ______________________________________________
> >> ESS-help at stat.math.ethz.ch mailing list
> >> https://stat.ethz.ch/mailman/listinfo/ess-help
> >>
> >
> >
> >--
> >best,
> >-tony
> >
> >"Commit early,commit often, and commit in a repository from which we can
> easily
> >roll-back your mistakes" (AJR, 4Jan05).
> >
> >A.J. Rossini
> >blindglobe at gmail.com
> >
> >
> 
> 


-- 
best,
-tony

"Commit early,commit often, and commit in a repository from which we can easily
roll-back your mistakes" (AJR, 4Jan05).

A.J. Rossini
blindglobe at gmail.com




More information about the ESS-help mailing list