[R] interfacing ocaml with R

Viktor Tron v.tron at ed.ac.uk
Fri Jun 16 17:46:56 CEST 2006


Dear R-ers,

Does anyone know if one can interface R from other languages, notably  
OCaml I'd be
interested in?
Omegahat gives python and perl for which there are bidirectional interfaces
but I wonder if there are general robust ways for other languages.

I can open R as a pipe process and can successfully commmunicate from  
within OCaml
but I just wonder if there are standard ways of transferring data across.
Writing and reading from files seems obvious, simple and robust but
may not be the most efficient.

Thanks for any suggestions
V



More information about the R-help mailing list