highlight 0.4.2

June 19, 2013
By

(This article was first published on R Enthusiasts, and kindly contributed to R-bloggers)

highlight 0.4.2 is on CRAN. This fixes a few bugs reported by users.

The main improvement is that we can now use highlight as a vignette engine, using the functionality introduced in R 3.0.0. In the Rcpp universe, we use highlight to build some of our vignettes, and before this we had to use crazy tricks with Makefiles, etc … I hope that we won’t need this anymore with highlight 0.4.2 and I’ve already started working on using the vignette engine for the RcppGSL vignette.

To use highlight as your vignette engine, you just need to add this line to your DESCRIPTION file:

VignetteBuilder: highlight

And this somewhere in your vignette:

%\VignetteEngine{highlight::highlight}

Here is the extract of the NEWS file:

0.4.2   2013-06-19

   o    Dealing with spaces that were inserted where they should not have.
        reported by Yihui Xie. 
        
   o    Removing the last line from highligted chunks in the sweave driver
        Requested by Dirk Eddelbuettel.
        
   o    Supporting VignetteBuilder: highlight     

To leave a comment for the author, please follow the link and comment on his blog: R Enthusiasts.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...



If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.