If you use emacs, then another alternative is Org-babel, which allows  
you to mix and match languages.  Using the literate programming  
paradigm, Org-babel will tangle your hwriter code snippets and expand  
references to any R-code that you want to embed within them.

I use Org-babel to combine R and LaTeX in this way and find it a  
comfortable work environment.

http://orgmode.org/worg/org-contrib/babel/index.php

All the best,
Tom


On Jan 18, 2010, at 8:30 AM, Ista Zahn wrote:

> You may as well go all the way and use Sweave. See
> http://www.stat.umn.edu/~charlie/Sweave/ for examples.
>
> -Ista
>
> On Mon, Jan 18, 2010 at 4:41 PM, Dimitri Shvorob
> <dimitri.shvo...@gmail.com> wrote:
>>
>> Nothing relevant, as far as I can tell :(
>> Putting text into a PDF document in R appears to be a cumbersome  
>> exercise.
>> --
>> View this message in context: 
>> http://n4.nabble.com/exporting-text-output-to-pdf-tp837699p1016808.html
>> Sent from the R help mailing list archive at Nabble.com.
>>
>> ______________________________________________
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
>
>
> -- 
> Ista Zahn
> Graduate student
> University of Rochester
> Department of Clinical and Social Psychology
> http://yourpsyche.org
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to