Created by Thomas Reinholdsson (reinholdsson@gmail.com).
rHighcharts package is an R wrapper for the Highcharts JS, which is a JavaScript charting library based on SVG and VML rendering by Highsoft Solutions AS. Highcharts JS is not free for commercial use, so make sure you have a valid license to use it.
rHighcharts is packaged with Highcharts JS v3.0.0.
library(devtools)
install_github("rHighcharts", "metagraf")
See instructions on the following page: http://glimmer.rstudio.com/reinholdsson/rHighcharts/.
library(rHighcharts)
shinyServer(function(input, output) {
output$chart <- renderChart({
a <- rHighcharts:::Chart$new()
a$title(text = "Fruits")
a$data(x = c("Apples","Bananas","Oranges"), y = c(15, 20, 30), type = "pie", name = "Amount")
return(a)
})
})
library(rHighcharts)
shinyUI(bootstrapPage(
chartOutput("chart")
))
rHighcharts is licensed under GPL-2. However, the Highcharts JavaScript library that is included in this package is not free for commercial use. Read more about its license at http://www.highcharts.com/license.