An R wrapper for Highcharts JS
R
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R Remove includeJS Apr 2, 2013
inst Rename show-app folder Apr 1, 2013
man Remove includeJS Apr 2, 2013
.gitignore Add chartOutput Apr 1, 2013
DESCRIPTION Update description Apr 3, 2013
NAMESPACE Remove includeJS Apr 2, 2013
README.md Update README.md Apr 29, 2013

README.md

rHighcharts: An R wrapper for Highcharts JS

Created by Thomas Reinholdsson (reinholdsson@gmail.com).


NOTE

The functionality within this R package has been implemented into rCharts created by Ramnath Vaidyanathan. Please see rCharts for further development.


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.

Installation

library(devtools)
install_github("rHighcharts", "metagraf")

How to use

See instructions on the following page: http://glimmer.rstudio.com/reinholdsson/rHighcharts/.

Examples

Use with Shiny

server.R

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)
    })
})

ui.R

library(rHighcharts)
shinyUI(bootstrapPage(
    chartOutput("chart")
))

See also

License

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.