From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=MAILTO_TO_SPAM_ADDR autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id 2525CBBCA for ; Sun, 16 Mar 2008 20:01:47 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAMIL3UfAXQIm/2dsb2JhbACmPQ X-IronPort-AV: E=Sophos;i="4.25,509,1199660400"; d="scan'208";a="9530987" Received: from discorde.inria.fr ([192.93.2.38]) by mail1-smtp-roc.national.inria.fr with ESMTP; 16 Mar 2008 20:01:46 +0100 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m2GJ1biv013330 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sun, 16 Mar 2008 20:01:46 +0100 X-IronPort-AV: E=Sophos;i="4.25,509,1199660400"; d="scan'208";a="23835058" Received: from pericui.inria.fr (HELO localhost) ([128.93.24.186]) by mail4-relais-sop.national.inria.fr with ESMTP; 16 Mar 2008 20:01:46 +0100 Received: from ADijon-151-1-102-34.w83-203.abo.wanadoo.fr (ADijon-151-1-102-34.w83-203.abo.wanadoo.fr [83.203.218.34]) by pops-rocq.inria.fr (Horde MIME library) with HTTP; Sun, 16 Mar 2008 20:01:46 +0100 Message-ID: <20080316200146.vgd0u64rw4gcckwg@pops-rocq.inria.fr> Date: Sun, 16 Mar 2008 20:01:46 +0100 From: Maxence Guesdon To: caml-list@inria.fr Subject: Re: [Caml-list] R bindings ? References: <20080314123242.vnqmbo1j44s0gkcg@pops-rocq.inria.fr> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) X-Miltered: at discorde with ID 47DD6E91.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; maxence:01 guesdon:01 maxence:01 guesdon:01 bindings:01 bindings:01 toplevel:01 low-level:01 error-prone:01 computed:01 compiler:01 --f:01 ocaml:01 beginner's:01 ocaml:01 Francois Rouaix a ?it : > And why do you need bindings instead of simply feeding generated source co= de > to the R toplevel?Low-level bindings are mostly useful if the calls go bot= h > ways or if the parsing costs represent a high overhead. Because - Printf-ing the code is kind of heavy and error-prone, - parsing the computed values is some work to handle correctly, - the compiler can't tell me if I did something wrong so I get all the =20 errors at execution time. Maxence > --f > > > 2008/3/15 Ashish Agarwal : > >> I searched a few weeks ago for this but did not find anything. >> >> >> >> On Fri, Mar 14, 2008 at 7:32 AM, Maxence Guesdon >> wrote: >> >> > Hello, >> > >> > Has anyone developed any kind of bindings with R-project to call R >> > from OCaml programs ? If so, is it available somewhere ? >> > >> > Thanks, >> > >> > Maxence Guesdon >> > >> > ---------------------------------------------------------------- >> > This message was sent using IMP, the Internet Messaging Program. >> > >> > >> > _______________________________________________ >> > Caml-list mailing list. Subscription management: >> > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list >> > Archives: http://caml.inria.fr >> > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >> > Bug reports: http://caml.inria.fr/bin/caml-bugs >> > >> >> >> _______________________________________________ >> Caml-list mailing list. Subscription management: >> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list >> Archives: http://caml.inria.fr >> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners >> Bug reports: http://caml.inria.fr/bin/caml-bugs >> >> > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.