Re: [Rpy] export a package of R in python program

2010-04-07 Thread Brandon Invergo
Could you post the code that you've tried so we can see if this is reconcilable within python/rpy2 or if it is, indeed, an R problem? cheers, brandon From: zahra sheikhbahaee To: "RPy help, support and design discussion list" Sent: Wed, April 7, 2010 9:50:25

Re: [Rpy] export a package of R in python program

2010-04-07 Thread Sean Davis
On Wed, Apr 7, 2010 at 3:50 PM, zahra sheikhbahaee wrote: > Hi > > I have already done this because each package has different suffix which > shows the version of the package. I imported in the program both of them but > since the name of the function is the same in both and it needs different > p

Re: [Rpy] export a package of R in python program

2010-04-07 Thread zahra sheikhbahaee
Hi I have already done this because each package has different suffix which shows the version of the package. I imported in the program both of them but since the name of the function is the same in both and it needs different parameters in each one, it makes a big mistake. I figured out that even

Re: [Rpy] export a package of R in python program

2010-04-07 Thread Sean Davis
On Wed, Apr 7, 2010 at 12:48 PM, zahra sheikhbahaee wrote: > Hi > > how could I add a function from old version to new one and then call it in > my program as being accessible by it? You would need to add the code to the R directory in the package source. Then, if the package has a NAMESPACE, yo

Re: [Rpy] export a package of R in python program

2010-04-07 Thread Brandon Invergo
There's no way of specifying versions in R's library() function, so I'm assuming that if you successfully have both versions of the package installed in R, they must have different names (I'm pretty sure installing a new version of a package overwrites the previous version). If that's the case,

Re: [Rpy] export a package of R in python program

2010-04-07 Thread zahra sheikhbahaee
Hi how could I add a function from old version to new one and then call it in my program as being accessible by it? Zahra. On Wed, Apr 7, 2010 at 6:39 PM, Sean Davis wrote: > On Wed, Apr 7, 2010 at 12:26 PM, zahra sheikhbahaee > wrote: > > Hi, > > > > I am using a package of R in my python co

Re: [Rpy] export a package of R in python program

2010-04-07 Thread Sean Davis
On Wed, Apr 7, 2010 at 12:26 PM, zahra sheikhbahaee wrote: > Hi, > > I am using a package of R in my python code. I have to import two versions > of package in my program, because there is a function in one of them which > does not exist in the new version. The problem is that, afterward I want to

[Rpy] export a package of R in python program

2010-04-07 Thread zahra sheikhbahaee
Hi, I am using a package of R in my python code. I have to import two versions of package in my program, because there is a function in one of them which does not exist in the new version. The problem is that, afterward I want to use one of the functions of new version but it looks for the functio

Re: [Rpy] rpy2 and bioconductor

2010-04-07 Thread Luca Beltrame
In data venerdì 2 aprile 2010 22:03:57, Laurent ha scritto: Hello, > There is documentation at: > http://packages.python.org/rpy2-bioconductor-extensions/ This really rocks. Thanks for creating it. -- Luca Beltrame, Ph.D. - luca.beltr...@unifi.it Post-doctoral research fellow - Duccio Cavali