There is a recent post in planet.lisp.org about using cffi to use
a R library by Tamas k Papp (by the way, there is a post in
the mailing list by Tamas in 2009). See ** below
As R is growing quickly and can use easily libraries in C and fortran,
it seems that a maxima to R translator is a winning point.
------------------------------------
** Third paragraph from
?http://tkpapp.blogspot.com/2011/11/new-and-updated-libraries.html
Realizing that implementing special functions in Common Lisp is perhaps
not the best use of my time, I decided to use a foreign library for this
purpose in cl-random. I chose R's standalone math library, with an SWIG-generated wrapper (it took about 30 minutes to have this library running, SWIG is amazing). I made the result available as a small standalone library
called cl-rmath in case anyone else wants to use it. I really appreciate that the R developers
made this available as a standalone library, it makes my life muc
for example, the univariate normal now has the syntax (r-normal mean variance) instead of the standard deviation, to be more consistent with the multivariate case.
On 11/11/2011 11:05 AM, Michel Talon wrote:
>>Although i don't know anything about that, there is supposed to be a comman >foreign function interface working with Allegro, CMUCL, SBCL, ECL, >http://common-lisp.net/project/cffi/manual/cffi-manual.html >and swig has a module which can do the wrapping in an automated >wayhttp://http://www.swig.org/Doc1.3/Lisp.html#Lisp_nn11 >It can also wrap for clisp, which covers Windows use, i think. >>I have not tried CFFI. I have used only one FFI, in Allegro Common
Lisp. My understanding as of a few years ago
was that CFFI or UFFI supported only a subset of features. I do not
know how this has changed
over time, or if any of the features matter to Maxima. I would
encourage someone to look at it though!