Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

renderggiraph

Reactive version of ggiraph object


Description

Makes a reactive version of a ggiraph object for use in Shiny.

Usage

renderggiraph(expr, env = parent.frame(), quoted = FALSE)

Arguments

expr

An expression that returns a ggiraph object.

env

The environment in which to evaluate expr.

quoted

Is expr a quoted expression

Examples

## Not run: 
if( require(shiny) && interactive() ){
  app_dir <- file.path( system.file(package = "ggiraph"), "examples/shiny" )
  shinyAppDir(appDir = app_dir )
}

## End(Not run)

ggiraph

Make 'ggplot2' Graphics Interactive

v0.7.10
GPL-3
Authors
David Gohel [aut, cre], Panagiotis Skintzos [aut], Mike Bostock [cph] (d3.js), Speros Kokenes [cph] (d3-lasso), Eric Shull [cph] (saveSvgAsPng js library), Eric Book [ctb] (hline and vline geoms)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.