Re: [R] what is best for scripting?

From: Josť Matos <jaomatos_at_gmail.com>
Date: Sat 03 Dec 2005 - 09:21:40 EST

On 02/12/05, paul sorenson <sourceforge@metrak.com> wrote:

>

> I usually dump data from Python to R in CSV format. I call R scripts
> from Python and about the only trick I use here is to read in an R
> script template and perform string variable expansion (interpolation in
> Perl) before sending it to an R process. See attached for example. For
> various reasons I have not used the R-Python bindings.

  In this case I prefer to use rpy (look for it in sourceforge), it allow to call R directly from python,
with the main advantage that the resulting objects are really python objects, and vice-versa
calling R with python objects will convert them to R objects.

 It works quite well for me. :-)

> cheers



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Dec 03 11:04:47 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:28 EST