Convert trace types to WebGL
toWebGL(p)
p
a plotly or ggplot object.
# currently no bargl trace type toWebGL(qplot(1:10)) toWebGL(qplot(1:10, 1:10))