2008/7/24 Matias Piipari <[EMAIL PROTECTED]>: > That's a shame... I've unsuccessfully tried to run RSPython on my Macbook > for the last few days and got as far as changing the configure script enough > to make it compile (doesn't run yet though). It's probably not worth the > effort as it seems to be completely unmaintained for a long time and > requires suspiciously old versions of R and Python. Please, please someone > implement the R-->Python part of the bridge too :)
Unless someone steps forward to help, design and implementation of an R->Python interface may have to wait... > On Thu, Jul 24, 2008 at 10:32 PM, Anne Ghisla > <[EMAIL PROTECTED]> wrote: >> >> Scrive Matias Piipari <[EMAIL PROTECTED]>: >> >> > I'm sorry, my question was unclear. What I actually meant was >> > interfacing >> > with Python code from inside the R interpreter (RSPython and some other >> > R >> > bridges from other languages allows one to do this). In other words, I'd >> > like to use my existing Python code underneath and merely expose an R >> > API >> > for the functionality without having to write it all in R. >> >> I understand (and I read your email a bit too fast :)) >> Unfortunately, RPy doesn't allow R code to run Python code yet. Hope will >> be >> implemented soon. >> >> regards, >> >> Anne >> >> > >> > On Thu, Jul 24, 2008 at 10:16 PM, Anne Ghisla < >> > [EMAIL PROTECTED]> wrote: >> > >> > > 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 > > ------------------------------------------------------------------------- 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