Skip to content

Releases: Alipsa/munin

Ver 1.0.1

26 Dec 18:00
Compare
Choose a tag to compare

Minor update: Added support for managing (adding/deleting,downloading) external / common content which can be referenced from within a report.

Ver 1.0.0

23 Dec 11:34
Compare
Choose a tag to compare

I am pleased to announce the first version of Munin, a reporting server based on Renjin and Spring Boot.

This first version has the following features:

  • add / edit / delete and schedule reports
  • support parameterized reports
  • user administration

The integration of Renjin with Spring Boot is facilitated by the Renjin package renjin-spring-boot-starter for which version 1.0 is now also released.

Html reports are created using the Renjin package htmlcreator (version 1.0 just released) which allows for easy creation of html reports with R entities such as data.tables and plots.

Here is an example:

library('se.alipsa:htmlcreator')

html.clear()
html.add("<html><body>")
html.add("
<style>
  .table-font-size {
    font-size: 14px;
  }
</style>
")

html.add("<h2>A Sample report with a table and an image<h2>")
html.add(
  barplot,
  table(mtcars$vs, mtcars$gear),
  main="Car Distribution by Gears and VS",
  col=c("darkblue","red"),
  htmlattr = list(alt="an mtcars plot")
)
html.add(mtcars, htmlattr=list(class="table table-striped table-font-size"))

html.add("</html></body>")
# If we are using Ride (or another IDE that defines an inout object), display the report in the IDE
if(exists("inout")) {
  inout$viewHtml(html.content(), "SimpleExample")
}
# Return the html content
html.content()

The name Munin is from the Nordic mythology where the two ravens of Oden, Hugin (thought) and Munin (memory) would everyday fly through all the worlds and report back to Oden.