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

Packaging R for WebAssembly #1050

Open
69 tasks done
IsabelParedes opened this issue Apr 23, 2024 · 6 comments
Open
69 tasks done

Packaging R for WebAssembly #1050

IsabelParedes opened this issue Apr 23, 2024 · 6 comments
Labels

Comments

@IsabelParedes
Copy link
Member

IsabelParedes commented Apr 23, 2024

r-base

Other dependencies

R packages

All of the following packages depend on r-base and are dependencies for xeus-r.

r-coursekata

  • r-coursekata (noarch)
    • r-purrr >=0.3.4 Add r-purrr #1348
    • r-metrics (noarch)
    • r-dslabs (noarch)
    • r-ggformula (noarch)
    • r-lsr (noarch)
    • r-mosaic (noarch)
    • r-pak (noarch)
    • r-palmerpenguins (noarch)
    • r-supernova (noarch)
    • r-viridislite (noarch)
@DerThorsten
Copy link
Contributor

maybe we can use clapack instead of liblapack https://github.com/emscripten-forge/recipes/tree/main/recipes/recipes_emscripten/clapack

@IsabelParedes
Copy link
Member Author

maybe we can use clapack instead of liblapack https://github.com/emscripten-forge/recipes/tree/main/recipes/recipes_emscripten/clapack

I like this idea. This could simplify a lot of things. Worth trying it out!

@SylvainCorlay SylvainCorlay transferred this issue from another repository May 21, 2024
@SylvainCorlay SylvainCorlay transferred this issue from another repository May 21, 2024
@SylvainCorlay
Copy link
Contributor

@IsabelParedes
Copy link
Member Author

As a side note, I tried building r-base with clapack and openblas which are already available on emscripten-forge. However, r-base still has an internal appl lib which requires having a Fortran to WebAssembly toolchain.

@IsabelParedes IsabelParedes added the R label Oct 9, 2024
@adamblake
Copy link

@IsabelParedes @SylvainCorlay I got a new requirement for this project which is the neuralnet package. It looks like it is noarch, but has a dependency on MASS (already packaged on this issue) and Deriv (not yet packaged). I checked and Deriv only depends on r-base, so I think we are good, right?

@IsabelParedes
Copy link
Member Author

@IsabelParedes @SylvainCorlay I got a new requirement for this project which is the neuralnet package. It looks like it is noarch, but has a dependency on MASS (already packaged on this issue) and Deriv (not yet packaged). I checked and Deriv only depends on r-base, so I think we are good, right?

Hi @adamblake! Correct, these two packages do not need compilation so they're good to go.

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

No branches or pull requests

4 participants