Learn R Programming

rbokeh (version 0.5.2)

console_callback: Specify a console callback

Description

This registers a callback that simply prints the callback objects in the javascript console of your web browser. A probalby more useful callback is the debug_callback which will place you inside a debugger in your web browser allowing you to inspect the callback objects.

Usage

console_callback()

Arguments

Examples

Run this code
# NOT RUN {
figure() %>%
  ly_points(1:10) %>%
  x_range(callback = console_callback()) %>%
  y_range(callback = console_callback())
# }

Run the code above in your browser using DataLab