[Rd] Embedding R in other applications as a scripting language
Bryce Carson
bryce@@@c@r@on @end|ng |rom gm@||@com
Sun Oct 13 02:52:43 CEST 2024
I am subscribing to r-core because I am spending more and more time reading
the R implementation itself, but in the meantime I would love to discuss
the topic of embedding R (or linking against it) with more experienced C
developers and people who've written C or C++ code for R packages.
I have reached the stage where to make progress with embedding R in the
target application, TIC-80 (see https://tic80.com/), I need to study how R
is initialized in a finder detail. At the moment my plans for integrating R
include bundling the recommended packages in addition to magrittr (more
than that would be overkill for the integration).
The most relevant information I have seen on embedding R in other
applications *as a scripting language* comes from the
tests/Embedding/index.html document included in the R sources. At the
moment the Internet Archive is down while they deal with a DDOS attack
(thankfully their data are safe), so I can't access the PostgreSQL + R
documents linked to from there. No big matter.
I'm not particularly versed in C myself, but I can read it well and I
understand more each day I read the R implementation itself and expose
myself to the actual usage of non-trivial C. I read *Narain Gehani's C: an
Advanced Introduction* over the summer to familiarize myself with the
aspects of the language which weren't transparent to me from studying other
languages (Java, R, Emacs LISP, Python).
Anyhow, if anyone has experience playing with this since it was more
popular twenty years ago (as it seems) please reply!
Regards, and thanks for all the pirate jokes. R!
--- Bryce
[[alternative HTML version deleted]]
More information about the R-devel
mailing list