[R] customize R code in latex

AURORA GONZALEZ VIDAL aurora.gonzalez2 at um.es
Wed Feb 10 20:34:46 CET 2016


Hello,

I am struggling with the fact of include a chunk of R code in a paper,
writing in latex.

I have seen some examples using listings() but I would like to keep R
colors.

So as to do that, I have written the code in Rmarkdown and when knitr I
keep the latex file so I obtain the attached files.

But, in order to fit in the paper, I would like to modify the dimensions of
the chunk (make it smaller) and also put it inside a black box.

Do you have any advise?

Thank you very much in advance.


------
Aurora González Vidal
Phd student in Data Analytics for Energy Efficiency

Faculty of Computer Sciences
University of Murcia

@. aurora.gonzalez2 en um.es
T. 868 88 7866
www.um.es/ae
------------ pr�xima parte ------------
A non-text attachment was scrubbed...
Name: theData-iq.pdf
Type: application/pdf
Size: 118296 bytes
Desc: no disponible
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20160210/68910a43/attachment.pdf>


More information about the R-help mailing list