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

2010-04-07 Thread zahra sheikhbahaee
naged to have two different versions of the same > package installed in R with the same name, you'll have to find a more clever > solution. > > Cheers, > Brandon > > -- > *From:* zahra sheikhbahaee > *To:* "RPy help, support and design disc

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 p

[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] mclust package of R

2010-03-02 Thread zahra sheikhbahaee
-0.08937613 1.06053090 , , 2 [,1][,2] [1,] 0.95559538 -0.09661115 [2,] -0.09661115 0.11975590 Do you think whether there is a practical solution for my problem or not? Zahra. On Tue, Mar 2, 2010 at 6:53 PM, Peter wrote: > On Tue, Mar 2, 2010 at 5:48 PM, zahra sheikhb

[Rpy] mclust package of R

2010-03-02 Thread zahra sheikhbahaee
Hi all, I am using mclust package of R. I checked the results which I have already covert by rpy2 to python by R's one. It calculates the covariance matrix of my data but I got surprised because it seems that the numbers changed. They are totally different. I wonder whether there is any way to sol

[Rpy] importing ggplot2

2010-02-18 Thread zahra sheikhbahaee
ryError: The R package ggplot2 could not be imported How could I manage to solve the problem? Cheers, Zahra. ___ --- Zahra Sheikhb

[Rpy] rpy2.1.0alpha3 install problem

2010-02-13 Thread zahra sheikhbahaee
Hi, I had in my Kubuntu(linux) rpy '2.0.4' . I un-installed it and then I installed version rpy2.1.0alpha3 by this command : sudo python setup.py build install It seems that I could install it successfully but when I write this command : import rpy2.robjects.tests I get this reply : Traceback (

Re: [Rpy] Rpy problem

2010-02-11 Thread zahra sheikhbahaee
Shapiro-Wilks normality test of the UA data" > #print sw > print "W = %.4f" % sw.r["statistic"][0][0] > print "p-value = %.4E" % sw.r["p.value"][0][0] > print " " > > # Run the Kolmogoro

Re: [Rpy] Rpy problem

2010-02-11 Thread zahra sheikhbahaee
.7936912023707969, 2.9201745422289238, 3.0466578820870498, 3.1731412219451767, 3.2996245618033027]}} >>> r.mode(value) 'list' >>> r.length(value) 1 It is very urgent. Could someone help me? Zahra. On Wed, Feb 10, 2010 at 11:58 AM, zahra sheikhbahaee wrote: > Hi, > >

[Rpy] Rpy problem

2010-02-10 Thread zahra sheikhbahaee
Hi, I have written a program in python and then I used the ks(kernel density estimator)package of R for smoothing my dataset. Now, I need to extract the information which has been calculated by the package. The result is somthing like that: r.str(j) List of 4 $ x : num [1:3105, 1:2] 0.95