Re: [Rpy] need help with sensitivity

2012-08-28 Thread Mike Sarahan
Sorry, I can't help you any further. Might I suggest RPy2 as an alternative? It seems to be much more active in development, and advantageous in using things like numpy. On Tue, Aug 28, 2012 at 5:16 AM, Filippo Monari wrote: > rpy > > On 28/08/12 13:14, Mike Sarahan wrote: >

Re: [Rpy] need help with sensitivity

2012-08-28 Thread Mike Sarahan
ethod for 'tell' applied to an object of class > "c('double', 'numeric')" > > Could it be possible that the particular method 'tell' is not supported? > Regards, > Filippo > > On 28/08/12 12:44, Mike Sarahan wrote: >> Are yo

Re: [Rpy] need help with sensitivity

2012-08-28 Thread Mike Sarahan
Are you using the brackets in the set of parameters for the morris function? I think the debug message is telling you that you can't use brackets in the tell function for the y=[] part. Brackets in Python are lists. Alternatively, maybe M in your example is a list? Either way, it looks like you

Re: [Rpy] unable to install rpy2

2012-07-28 Thread Mike Sarahan
Can you not download python 2.7? That seems like a much simpler solution. On Jul 28, 2012 7:39 AM, "Avishek Dutta" wrote: > Hi, > > Forgive the novice. > > I am using python 2.6. > But your binary built is for 2.7. > > Will it work? Is there a older built? > Avishek > > >

Re: [Rpy] An Error in Calling R Function from Python via RPy2

2011-01-27 Thread Mike Sarahan
Have you tried these operations in R itself? I'm not sure that what you're trying to do works in R, let alone R through python. The error you're seeing is exactly correct - the R open function does not know what to do with the character ("a") that you are passing to it. On Thu, Jan 27, 2011 at 2

Re: [Rpy] Missing LibR.So error with Rpy2

2010-08-13 Thread Mike Sarahan
I also had problems getting RPy2 to work when compiling R from source. I found that it was necessary to update the system's index of libraries after installing R by issuing this command: sudo ldconfig This fixed the error you mention on my PC. Nevertheless, packages are definitely an easier way

Re: [Rpy] Access slot of S4 object

2010-05-06 Thread Mike Sarahan
It has been a while since I wrote this, but here's what I did: ynames=tmp.do_slot('y.names') My S4 object did not have a period in it. That may complicate things. I know the rpy2 documentation discusses how to deal with this situation, but it seems to be too early in the morning for me to find

Re: [Rpy] 'show' not found

2010-03-18 Thread Mike Sarahan
If anyone else encounters this problem, it appears to be something with R. After installing R from source (2.10.1) rather than the Ubuntu package (2.9.2), Rpy2 works as expected. On Thu, Feb 25, 2010 at 7:07 PM, Mike Sarahan wrote: > Hi all, > > I am running Ubuntu 9.10, with R vers

[Rpy] 'show' not found

2010-02-25 Thread Mike Sarahan
Hi all, I am running Ubuntu 9.10, with R version 2.9.2. I have this problem on both RPy2.1 alpha3 and the mercurial repository. Both compile cleanly, and I can import rpy2. However, when I try to import robject or any of its children, I get this error: -