Thanks, Rob!
Rob Oakes wrote:
Hi Ricardo,
<<I am not to include an R code chunk within a table.>>
For reasons I do not really understand, R code within tables (or figure
floats) can be very fragile. LyX 2.0 makes this better through the
Sweave module, but it is still not perfect.
The best way I have found for overcoming the fragility is to place it
within a minipage. You can do this by clicking on Insert->Box, and then
placing the code within there.
This works fine! By putting an ERT within the minipage problems are solved!
If the code chunk is short, you can also use S/R expression insets.
(Not sure if this is available in LyX 1.6.5. From LyX 2.0, go to
Insert->Custom Inserts->S/R expression).
No Custom Insert is available out of the box with LyX 1.6.5. I guess LyX
2.0 is in beta stage (I found some spare references to it in
latex-community.org). I don't know why but I've not access to LyX
website right now, I'll check it asap and move ahead to this release.
I'm currently in an entry stage of my work with LyX, thus it is a
perfect time for experimentation!
BTW, I see that your message has been sent to lyx-de...@oak-tree.us as
well as to lyx-us...@lists.lux.org. Just to be polite and to respect the
rules, is is expected that I reply to the list? Just to the sender?
Thanks for your help and advice!
Greetings,
Ricardo
--
Ricardo RodrÃguez
CTO
eBiotic.
Life Sciences, Data Modeling and Information Management Systems