Skip to content
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

Question: Could WebIO be used to write a widget that would persist when compiled to static HTML like in Weave.jl? #481

Open
thadryanjs opened this issue Feb 3, 2022 · 0 comments

Comments

@thadryanjs
Copy link

I am attempting to move an R workflow to Julia.

Our team uses bookdown to compile sets of .Rmds to a static site to host a central versions of the analysis. One thing our stakeholders are invested in is an interactive table in these sites. We achieve this in R using DT, and I've discovered I can get the same results using jupyter-book + itables.

In the attempt to convert to Julia, I used ipynbs and TableView.jl. TableView.jl works great in the live Jupyter session, but when I compile to HTML, the resulting pages contains the error message that WebIO isn't detected and refers me to the help page. I complete the checks and find that the correct extensions are installed, which isn't surprising because it works really well in the live session.

I then attempted a series of workarounds described in this thread before coming to the conclusion that I can't write in Julia (at least in ipynb) and use PyCall or RCall in one cell to get the table into the compiled book.

I'd be willing to try to figure out how to write something on top of WebIO that would work in the live session and also be in the HTML but wanted to make sure this was theoretically possible before doing so.

Thank you for your time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant