On Tue, Oct 11, 2011 at 5:21 PM, Shane Siers <shanesi...@gmail.com> wrote:
> Hello, friends.  My problem:
>
> Many R commands are too long for a single line.  Lyx will wrap the text in
> the GUI, but the PDF output runs off the edge of the page.  Breaking up
>
As a general rule, the way LyX wraps up text in the GUI has no effect
on the PDF output.


> command lines with carriage returns works in R but not in Sweave.
>
> How can I get the R commands to wrap (preferably with an indent for wrapped
> lines) in the PDF output?
>
See attached for an example using keep.source=TRUE and code chunks in
ERT insets. You need to manually wrap your code using 'return'.

Regards
Liviu


> Also, can I get the LyX interface display of Sweave chunks to default to a
> smaller text size?
>
> --
> Shane
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail

Attachment: newfile3.lyx
Description: Binary data

Reply via email to