[R] Sweave: Changing the background color, adding a border
Dieter Menne
dieter.menne at menne-biomed.de
Mon Apr 20 11:40:39 CEST 2009
Christophe Genolini <cgenolin <at> u-paris10.fr> writes:
...
> Thanks for your answer. I finally succeed.
> I used the listings package to define an environment that put code in a
> grey box. The command is \lstnewenvironment{Sinput}[1][]{
>
...
This is too nice code to be lost, but it suffers from some line-break-problems
and it would be good if it were a self-running Sweave example.
May I suggest that you put it in some format-conserving place, e.g. in the
Wiki, and post the link here?
Dieter
More information about the R-help
mailing list