Re: [R] Sweave line length

2007-10-30 Thread Keith Jones
>Kevin, Your suggestion got me on the right track. The R command: option(width=50), sets the text width for R to 50 columns per line. When Sweave is run it breaks lines into 50 columns per line. The only exception to this is when there is a command like setwd("/Users/keithjones/Documents/Da

Re: [R] Sweave line length

2007-10-30 Thread Duncan Murdoch
On 10/30/2007 8:55 AM, Kevin E. Thorpe wrote: > Keith Jones wrote: >> Hello, >> >> I am trying to add R code to my dissertation and the length of a line >> of text that Sweave generates is longer than the right margin in my >> dissertation. I have found no way to tell Sweave how to set the line

Re: [R] Sweave line length

2007-10-30 Thread Kevin E. Thorpe
Keith Jones wrote: > Hello, > > I am trying to add R code to my dissertation and the length of a line > of text that Sweave generates is longer than the right margin in my > dissertation. I have found no way to tell Sweave how to set the line > length. I am using an iMac with tiger ver. 10.4.

[R] Sweave line length

2007-10-30 Thread Keith Jones
Hello, I am trying to add R code to my dissertation and the length of a line of text that Sweave generates is longer than the right margin in my dissertation. I have found no way to tell Sweave how to set the line length. I am using an iMac with tiger ver. 10.4.10, and R: ver. 2.5.1. Here i