Hi Bryce,
On 14 October 2024 at 09:13, Simon Urbanek wrote: | If you are willing to use C++ then RInside is a nice package that wraps the R API in C++ classes for easier use: https://github.com/eddelbuettel/rinside simplifying it quite a bit. Thanks for mention, Simon! And yes, embedding R is remarkably stable. Simon's own rServe and rJava were early, and still provide a reference. There was also (decades ago !) the embedding of R inside Postgres by Joe Conway. Jeff later did RApache, this lead to littler on which I leaned for RInside. Now, RInside may be of interest for two or three reason. First, it uses C++ and therefore abstract a few things (including the initialization) away into an easy to use C++ class. Second, by being in C++ it can take advantage of the templated converters to/from basic C/C++ types and class to R and back making the use easier. Lastly, there are a number of examples included in the source repo below inst/examples/ in seven different directories: https://github.com/eddelbuettel/rinside/tree/master/inst/examples Hope this helps, Dirk -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel