-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
charting with leaflet #11
Comments
Ok there's two separate issues here so let me address them in turn:
Note a couple of key things -- results are set to 'asis', and the plot is displayed with This example is from the demo notebook. That was included before, but isn't in the current version that's pending merge into zeppelin. So the instructions for doing this should probably get added to the manual
If you can suggest an acceptably-licensed R or java/scala library that can handle it, I'll write the code to bridge them together. I'm going to leave this issue open for a few days in case you run into any problems with |
@elbamos here is one thought. if widget authors can also provide standalone versions of assets (pre-run through pandoc), then it is fairly trivial to write a dependency bundler in R that inlines all assets. The question is will widget authors be willing to add extra assets to their packages? |
I tried charting with Leaflet.js in rCharts and with RStudio leaflet library, with no success with either.
Would you be so kind to post an example that works?
Also, have you tried Zeppelin with any htmlwidgets? Do they work?
(the method used below, of saving a file and displaying it as iframe was originally proposed by RamnathV as stop gap for jupyter with R kernel - it doesn't work with all htmlwidgets though).
Leaflet
The following works with the jupyter notebook and R kernel, but it does not work with Zeppelin R:
rCharts
I tried to display the classic example below, but the chart is displayed on another tab as index.html (on Safari).
The text was updated successfully, but these errors were encountered: