shell - SWeave with non-R code chunks? -
i use sweave produce latex documents chunks produced dynamically executing r code. works - possible have code chunks executed in different ways, e.g. executing code in shell, or running perl, , on? helpful able mix things up, things run shell commands fetch data, run perl commands pre-process it, , run r commands analyze it.
of course use r chunks , use system()
poor-man's substitute, doesn't make pleasant reading in document.
it's not directly related sweave, org-babel, part of emacs org-mode, allows mix code chunks of different languages in 1 file, pass data 1 chunk another, execute them, , generate latex or html export output.
you can find more informations org-mode here :
and see how org-babel works :
Comments
Post a Comment