RHighcharts
An R wrapper for Highcharts JS
Install / Use
/learn @metagraf/RHighchartsREADME
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
- rVega by Thomas Reinholdsson
- rCharts by Ramnath Vaidyanathan
- gg2v by Hadley Wickham
- clickme by Nacho Caballero
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.
Related Skills
node-connect
354.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.5kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
