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

Migrate executable code from ines/juniper to r-wasm/webr #22

Open
mitchelloharawild opened this issue Mar 9, 2023 · 3 comments
Open

Comments

@mitchelloharawild
Copy link
Contributor

https://www.npmjs.com/package/@r-wasm/webr

@mitchelloharawild mitchelloharawild changed the title Migrate executable code from ines/juniper to webr Migrate executable code from ines/juniper to r-wasm/webr Mar 9, 2023
@mitchelloharawild
Copy link
Contributor Author

One option would be to rebuild the website on quarto, and make use of https://github.com/coatless/quarto-webr

We would need to make substantial extensions to incorporate buttons / functionality for revealing solutions and checking code. We might like to:

  1. Wait for this extension to mature with improved code js libraries
  2. Use it as inspiration to build our own tool with existing js libraries (like ACE for example)

@mitchelloharawild
Copy link
Contributor Author

Looks like the quarto-webr filter uses https://github.com/microsoft/monaco-editor, which should be a good foundation for our needs. I think it would be best to build upon and extend quarto-webr with additional buttons and functionality to suit our needs.

@mitchelloharawild
Copy link
Contributor Author

For stability it would be nice to have code interrupts and R hanging reset detection.
For usability, we should set options(max.print = 100).

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