r-wasm / webr

The statistical language R compiled to WebAssembly via Emscripten, for use in web browsers and Node.
https://docs.r-wasm.org/webr/latest/
Other
839 stars 65 forks source link

sf package #169

Closed neocarto closed 1 year ago

neocarto commented 1 year ago

Are there any plans to add the sf package, which is the basis for all geographic analyses in R? It's probably complicated because there are some dependencies. But is it planned? Possible?

georgestagg commented 1 year ago

Preliminary work on this has begun in #214, initially building for Wasm some system dependencies required for geospatial analysis (GDAL, PROJ).

It will probably still be a long time until the sf package is usable in webR, but we think in principle it should be possible once we have enough of the required system dependencies available for linking under Wasm.

kadyb commented 1 year ago

I just tested and works great!