Re: [Rd] R_tryEval for OCaml-R.

From: Dirk Eddelbuettel <>
Date: Sat, 14 Nov 2009 10:24:28 -0600

On 14 November 2009 at 16:45, Guillaume Yziquel wrote:

| I'm currently working on the OCaml-R binding allowing to call R code 
| from Objective Caml.
| As Objective Caml is a functional language, I'd like the binding to be 
| as 'functional' as possible. Specifically, this means that I'd like 
| using the R_tryEval function and all related entry points in
| I've had a look at R-exts.pdf, but R_tryEval is not documented.
| Could someone please point me to relevant documentation, 

I don't think it is documented as it is not part of the API -- see for example R's src/main/context.c where you find

   R_tryEval is in Rinternals.h (so public), but not in the API.

That doesn't stop several projects from using it but we know it can break.

| or the relevant part of the R source code?

Besides the usual recursive grep

   edd_at_ron:~$ grep -rinl R_tryEval /home/edd/src/debian/R/R-2.10.0/

you can always try Google Code Search as in

Hth, Dirk

Three out of two people have difficulties with fractions.

______________________________________________ mailing list
Received on Sat 14 Nov 2009 - 16:27:55 GMT

This archive was generated by hypermail 2.2.0 : Sun 15 Nov 2009 - 08:50:24 GMT