options(width=n) is supposed to work, and does for me. I don't use Lyx though...
-Ista On Tue, Nov 10, 2009 at 4:27 PM, Mark Connolly <[email protected]> wrote: > I am not really sure where in the interactions this is handled, but I would > like to keep echo-ed R code chunks from running past the right margin and > off the page. I started with R and options(width=n), but this does not seem > to do anything (in the context of a document -- line command works just > fine). I have beating my head against different Lyx document settings > without anything to show. Anyone point me in the right direction? > > ______________________________________________ > [email protected] 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 ______________________________________________ [email protected] 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.

