Skip to content

Instantly share code, notes, and snippets.

timelyportfolio timelyportfolio

Block or report user

Report or block timelyportfolio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@timelyportfolio
timelyportfolio / .block
Last active Nov 4, 2019
R leaflet tooltips with plotly htmlwidget
View .block
license: mit
@timelyportfolio
timelyportfolio / .block
Created Aug 31, 2018
dt with heading tooltips
View .block
license: mit
@timelyportfolio
timelyportfolio / .block
Last active Oct 27, 2019
vsup ggplot2 interactive svg
View .block
license: mit
@timelyportfolio
timelyportfolio / .block
Last active Oct 27, 2019
vsup ggplot2 interactive svg 2
View .block
license: mit
@timelyportfolio
timelyportfolio / README.md
Created Apr 19, 2016 — forked from jcheng5/README.md
Using arbitrary Leaflet plugins with Leaflet for R
View README.md

Using arbitrary Leaflet JS plugins with Leaflet for R

The Leaflet JS mapping library has lots of plugins available. The Leaflet package for R provides direct support for some, but far from all, of these plugins, by providing R functions for invoking the plugins.

If you as an R user find yourself wanting to use a Leaflet plugin that isn't directly supported in the R package, you can use the technique shown here to load the plugin yourself and invoke it using JS code.

@timelyportfolio
timelyportfolio / .block
Last active Oct 8, 2019
vue d2b sunburst updated from Shiny sendCustomMessage
View .block
license: mit
@timelyportfolio
timelyportfolio / Readme.md
Created Apr 24, 2017
really dumb way to combine Vue and Shiny in R
View Readme.md

See the following for more examples combining R/Shiny and vuejs. All keep a global state store (not good practice) updated by shiny::sendCustomMessage().

  1. simple example
  2. more advanced d2b sunburst example

Code

Please note this is for illustration purposes only. vue is not needed at all, since all of this can easily be handled within Shiny.

@timelyportfolio
timelyportfolio / Readme.md
Created Mar 30, 2018
shiny datatables update streaming
View Readme.md

Let's say you have streaming data, and you would like to update a DT::datatable in Shiny without completely re-rendering the table. Here is some code to illustrate how this might be accomplished. Hope it helps.

library(DT)
library(shiny)

ui <- tagList(
  tags$script(HTML(
"
Shiny.addCustomMessageHandler(
@timelyportfolio
timelyportfolio / .block
Last active Sep 13, 2019
DATALEGRAYA in R
View .block
license: mit
@timelyportfolio
timelyportfolio / .block
Last active Aug 29, 2019
vega-lite theme
View .block
license: mit
You can’t perform that action at this time.