vegawidget/virgo

inlining vs writing out to a file

sa-lee opened this issue · 5 comments

Potential option is to write out to a tempfile to speed up rendering for large datasets.

Options are arrow or csv or json
https://github.com/vega/vega-loader-arrow

If writing out to a temp file, how does it work when running shiny?

A helper to replace inline data values with URLs/paths

vega_serialize_data(v, path)

However, it will not work with knitr, since vegawidget(base_url) gives a warning when knitr is in progress.