Displaying 3 results from an estimated 3 matches for "highlightweavelatex".
2009 Jun 06
2
Truncated R output in Sweave
Dear Colleagues:
In producing a book or a handout I sometimes cut out a large part of the
printed output of an R function, substituting ... for that chunk.
Deleting non-essential output saves paper. It would be nice to have a
capability in Sweave to allow the user to specify a starting and an
ending regular expression that would identify consecutive lines of
output to replace with ...,
2010 Dec 14
1
embed Sweave driver in .Rnw file
...;- driver()
-
+ drv <- SweaveGetDriver(file)
+ if( !is.null(drv) ) driver <- drv
+
if(is.null(syntax))
syntax <- SweaveGetSyntax(file)
if(is.character(syntax))
This allows one to write something like this in their file:
%\SweaveDriver{ { require(highlight); HighlightWeaveLatex() } }
So that when calling :
> Sweave( "somefile.Rnw" )
the highlight driver is used instead of the default driver.
Could something like that be added to Sweave ?
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http...
2009 Apr 19
2
Sweave: Changing the background color, adding a border
Hi all,
I am using Sweave to produce a document. Unfortunately, I have to print
several copies and I can't print them in color. So I would like to
change the way of printing the code. I would like to print the code in a
box with a black borderline and a grey background (quite classic). Is it
possible to do it by changing some Schunk options?
Christophe