Embedding R graphs in Redmine wiki pages

R is a language for statistical computing and graphics. It is capable of generating graphs and charts in publication quality. I’ve created a plugin for Redmine that allows the user to place R snippets within Redmine wiki pages and automatically embed the generated graphs:

The above pie chart was generated from the following Redmine wiki entry:

{{R(
png("%PNG%")
bars <- c(1, 3, 5)
pie(bars, main="Pie Chart: Favourite Bars", col=rainbow(length(bars)),labels=c("Mars","Twix","KitKat"))
)}}

To install the plugin on your Redmine site, check out the code and instructions in my Github.