Scrive Matias Piipari <[EMAIL PROTECTED]>:

> Hi everyone,

Hi Matias,

> 
> Is it possible to interface with Python using Rpy in like way that RSPython
> allows you to do? Basically, I'd like to provide an R API for a certain type
> of novel statistical method implemented in Python without having to rewrite
> the whole codebase.

Sure. You can use RPy in a way very close to RSPython. If your code is not
interactive, consider also to source it via 
r.source()
instead of converting each R line into Rpy code.

See some examples here:
http://rpy.sourceforge.net/rpy_demo.html

and, of course, documentation:
http://rpy.sourceforge.net/documentation.html

Hope this helps! For any questions, feel free to ask the list.

regards,

Anne

> 
> Thanks,
> Matias
> 





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to