[R] what is best for scripting?

José Matos jaomatos at gmail.com
Fri Dec 2 23:21:40 CET 2005


On 02/12/05, paul sorenson <sourceforge at 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




More information about the R-help mailing list