[R] how to change number of characters per line for print() to sink()?

2010-11-22 Thread Nevil Amos
I am using r to read and reformat data that is then saved to a text file using sink(), the file has a number of initial lines of comments and summary data followed by print of a data.frame with no row names. for example a-c(100:120) b-c(rnorm(100:120)) c-c(rnorm(200:220))

Re: [R] how to change number of characters per line for print() to sink()?

2010-11-22 Thread jim holtman
?options width options(width = 1000) On Mon, Nov 22, 2010 at 7:22 AM, Nevil Amos nevil.a...@gmail.com wrote: I am using r to read and reformat data that is then saved to a text file using sink(), the file has a number of initial lines of comments and summary data followed by print of a