search for: sweavedrivers

Displaying 2 results from an estimated 2 matches for "sweavedrivers".

Did you mean: sweavedriver
2011 Jun 20
1
Quote the path of graphics output in Sweave when it contains spaces
...uot;valid filename" in .SweaveValidFilenameRegexp, but I think it might be better to quote the filename when it contains spaces instead of just giving a warning. This should bring us safer LaTeX code (although I never use spaces in paths). Here is the simple patch: Index: src/library/utils/R/SweaveDrivers.R =================================================================== --- src/library/utils/R/SweaveDrivers.R (revision 56193) +++ src/library/utils/R/SweaveDrivers.R (working copy) @@ -390,6 +390,8 @@ } if (options$include) { + if (grepl("[[:space:]]&...
2010 Dec 14
1
embed Sweave driver in .Rnw file
Hello, Sweave lets you use alternative drivers through the driver argument, and several packages take advantage of that and define custom Sweave driver for various purposes. Most of them are listed on the Reproducible Research CTV: (http://cran.r-project.org/web/views/ReproducibleResearch.html) The next natural step is for package developpers to take advantage of this in their vignettes. In