Albert Sorribas Tello
2007-Oct-11 07:57 UTC
[R] How can I obtain a boxed sweave output within Latex?
This question is about including code and R results in Latex trough Sweave. It works fine and is of great help. Now may question is how to get the code and the output computed by R within a frame in Latex. Does any one have an idea on that. I tried \fbox, etc. but it seems to have problems with the code chunk generation of Sweave and I ger errors. I would appreciate any suggestion. I'll writting a statistical book and it would be very useful to have the R stuff boxed to highligth it. Thanks for any help. -- Albert Sorribas Grup de Bioestad?stica i Biomatem?tica Departament de Ci?ncies M?diques B?siques Institut de Recerca Biom?dica de Lleida (IRBLLEIDA) Universitat de Lledia tel: +34 973 702 406 FAX: +34 973 702 426 Home page: http://www.udl.es/Biomath/Group IRBLLEIDA: www.irblleida.cat
Paul Murrell
2007-Oct-11 08:12 UTC
[R] How can I obtain a boxed sweave output within Latex?
Hi Albert Sorribas Tello wrote:> This question is about including code and R results in Latex trough > Sweave. It works fine and is of great help. Now may question is how to get > the code and the output computed by R within a frame in Latex. > Does any one have an idea on that. I tried \fbox, etc. but it seems to > have problems with the code chunk generation of Sweave and I ger errors. > I would appreciate any suggestion. I'll writting a statistical book and it > would be very useful to have the R stuff boxed to highligth it.Try the boxedminipage package. Paul> Thanks for any help. > >-- Dr Paul Murrell Department of Statistics The University of Auckland Private Bag 92019 Auckland New Zealand 64 9 3737599 x85392 paul at stat.auckland.ac.nz http://www.stat.auckland.ac.nz/~paul/