[R] R echo code chunk runs off the page using Lyx and Sweave

Ista Zahn istazahn at gmail.com
Tue Nov 10 22:58:28 CET 2009


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 <mark_connolly at acm.org> 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?
>
> ______________________________________________
> R-help at 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




More information about the R-help mailing list