Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An R wrapper for Vega
R Perl
branch: master
Failed to load latest commit information.
R Update file path and move json files
inst Update file path and move json files
man Update scale method
.gitignore Init package
DESCRIPTION Rename all methods
LICENSE Init package
NAMESPACE Rename all methods
README.md Update README.md

README.md

rVega: An R wrapper for Vega

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

Shiny demo: http://glimmer.rstudio.com/reinholdsson/rVega-treemap/.

More about Vega: http://trifacta.github.com/vega/.

Installation

devtools::install_github("rVega", "metagraf")

Examples

library(rVega)
treemap(1:26, letters)

Demo: http://glimmer.rstudio.com/reinholdsson/rVega-demo-1/

Geopath

geopath(...)  # to be updated

Demo: http://glimmer.rstudio.com/reinholdsson/rVega-demo-2/

Use with Shiny

server.R

library(rVega)
shinyServer(function(input, output) {
    output$plot <- renderVega({
        treemap(1:26, letters)
    })
})

ui.R

library(rVega)
shinyUI(bootstrapPage(
    vegaOutput("plot")
))

See also

Something went wrong with that request. Please try again.