If you name chunks that should be run together the same thing (i.e. similar to how Noweb suggests that you should create documents), then ess-eval-thread will evaluate all chunks in the thread (i.e. that noweb would have sent to the same file upon tangling).
This is similar to the ess-eval-chunk ESS function. "Khamenia, Valery" <[EMAIL PROTECTED]> writes: >> See the 'Writing R Extensions' manual, specifically >> Creating R Packages -> Writing package vignettes > > thank you, i saw this entry. However, this entry is rather > about how to include documents (in particular Sweave-based) > into a package. But I have meant smth else. > > Let me explain in example. Today I use emacs as > environment for my R-sessions. I am quite happy to > use Sweave, but not happy, that there is no good > possibility to run some selected *part* of the R-code. > Indeed, the R-chunks are alternated with > Latex-chunks in Sweave. So, if one would like to > execute, say, three consequent R-chunks (C-c C-r in ESS-mode), > then the corresponding Latex-chunks between the > R-chunks will cause "side-effects". Actually, it is > because neither ESS nor R could accept Latex-chunks > and the markup symbols of Sweave. This makes interactive > work in .Rnw files not fully convenient. > > Making the above short: would it be a bad idea to > allow Latex-friendly documentation chunks in > R-language? > > Thank you. > > P.S. I am sorry if i missed something well-known > concerning the subj. > -- > Valery. > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > -- Anthony Rossini Research Associate Professor [EMAIL PROTECTED] http://www.analytics.washington.edu/ Biomedical and Health Informatics University of Washington Biostatistics, SCHARP/HVTN Fred Hutchinson Cancer Research Center UW (Tu/Th/F): 206-616-7630 FAX=206-543-3461 | Voicemail is unreliable FHCRC (M/W): 206-667-7025 FAX=206-667-4812 | use Email CONFIDENTIALITY NOTICE: This e-mail message and any attachme...{{dropped}} ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html