Open dabreegster opened 2 years ago
@Robinlovelace, I want to understand the current friction of R calling odjitter by command-line. https://github.com/atumworld/odrust/blob/main/R/odr_jitter.R is how it works today, correct?
Correct, that's a crude hack involving system calls but seems to work fine for all inputs I've seen..
Regarding the questions, rextendr
install.packages()
from R which is neat (currently working but that's all it does, compiles and then is not wired up).
@Robinlovelace, I want to understand the current friction of R calling odjitter by command-line. https://github.com/atumworld/odrust/blob/main/R/odr_jitter.R is how it works today, correct?
Is the problem...
1) Having to compile the Rust tool on a target system? (#6 solves if so) 2) Packaging for CRAN and having a dependency on any extra binary tool? 3) Slow to write input CSV or zone geojson? 4) Slow to read the output geojson? (We can look at geopackage, flatgeobuf, etc if so)
or something else?