Blog Archives

highlight 0.4.2

June 19, 2013
By

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 … Continue reading →

Read more »

highlight 0.4.1

April 10, 2013
By

The highlight package has been missing from CRAN for quite some time Now it is back, with fewer dependencies. It used to depend on Rcpp and parser, but since the code logic from parser has been brought to R, highlight … Continue reading →

Read more »

Mobile version of the graph gallery

April 10, 2013
By
Mobile version of the graph gallery

The R Graph Gallery has been a popular website for many years now. The number of graphics keeps growing as people send me their code. When browsing the website with a mobile device the experience was frustrating, as too much … Continue reading →

Read more »

Simpler R help tooltips

March 25, 2013
By

I posted yesterday about R Help tooltips. I have started to use them e.g. on the graph gallery However, I’m quickly frustrated with having to write the full url, i.e if I want to add a link to the help … Continue reading →

Read more »

R Help tooltips

March 24, 2013
By
R Help tooltips

I created a simple jquery plugin to display some information when hovering links to r documentation files hosted at help.r-enthusiasts.com Below is a snapshot from highlight.r-enthusiasts.com that uses the tooltips: See also a live example here: data.frame Using this feature … Continue reading →

Read more »

Rcpp 0.10.3

March 24, 2013
By

Rcpp 0.10.3 is on CRAN. Here is the part of the NEWS file related to this release Changes in R code Prevent build failures on Windowsn when Rcpp is installed in a library path with spaces (transform paths in the … Continue reading →

Read more »

Web Hosted R Syntax Highlighter

March 24, 2013
By

highlight uses simple jquery command to syntax highlight R code contained in any regular <pre> element. For example, this chunk of code, from the datasets::cars help file. require(stats); require(graphics) plot(cars, xlab = "Speed (mph)", ylab = "Stopping distance (ft)", las … Continue reading →

Read more »