-
Notifications
You must be signed in to change notification settings - Fork 48
Example R / Scala notebooks #203
Comments
IRkernel/IRkernel#312 fixes the R kernel so that it works with jupyter-js-services. Not sure when there will be a release with it, so for the time being, focus on Scala and Toree. |
Description updated. Moved this out of 0.6.0. |
We did not check / install the necessary Toree declarative widget deps in #169. They might already be installed properly in the Dockerfile.kernel or they might not. If not, that work will need to be done as part of this issue. |
We have a choice to make concerning the declarative widgets .jar file for Scala. Currently, we ask the author to specify the IP and port of the notebook server to successfully load the .jar file. // modify to IP and Port of this notebook server
%addjar http://localhost:8888/nbextensions/declarativewidgets/declarativewidgets.jar
import declarativewidgets._
initWidgets This introduces a problem when deploying the notebook to a dashboard server, as the dashboard server should stand alone and does not rely on a notebook server. @parente made one suggestion that we could move the .jar file to be public facing, but we may then run into problems with versioning. We could also load the .jar file using the path to where the file is in the local file system of the Docker notebook server container. This doesn't quite solve the portability issue unless we put the .jar file along the same path in the dashboard server. Any other suggestions or workarounds? |
@lbustelo, @jhpedemonte any thoughts on how the declarativewidgets.jar should be referenced kernel-side so that it works both in notebook server and in kernel gateway (deployed)? An analogous |
Spoke with @jhpedemonte, @lbustelo, and @poplav about this. We decided that publishing tagged builds of declarative widgets to Maven Central may be best and easiest for users. This will require a change to how widgets are initialized in Scala notebooks, but will also solve the issue of versioning. We've opened a separate issue over on declarative widgets. |
Thanks to @poplav's work on jupyter/declarativewidgets#468, declarative widgets for Scala is now hosted at Maven Central. I've created an example Scala notebook that pulls down the current snapshot release and submitted PR #267. |
Need some notebooks in
test/
for manually testing that R and Scala both work properly.[ ] R notebook that just printsSee comment about R support[ ] Scala notebook that just prints(Should go in [Issue: 169] Frontend hardcodes python3 #211 for simple manual testing)[ ] R notebook that uses minimal declarative widgetsSee comment about R supportDon't want to add massive new demos that we need to maintain. Just want a sanity check of how these things behave in dashboard server.
Needs to come after #169
The text was updated successfully, but these errors were encountered: