[R] Forcing Sweave text to fit
    Deepayan Sarkar 
    deepayan at stat.wisc.edu
       
    Sun Aug  8 18:29:27 CEST 2004
    
    
  
On Sunday 08 August 2004 11:24, Doran, Harold wrote:
> List
>
> I am preparing a document in Sweave where I would like the R output
> on the file. So I have used
>
>  <<echo=T>>=
> text
> @
>
> In some cases, I have text that is very long. Consequently, the tex
> file has my text going way out into the margins and the document
> looks a little sloppy. Is there a way to force the text to wrap
> around instead of going out into the margins?
AFAIR, you want to set 
options(width = 40) 
or something similar in a (preferably non-echoed) 'initialization' chunk 
at the top of your document. 
Deepayan
    
    
More information about the R-help
mailing list