Re: [Rpy] rpy2 sphinx docs are down

2010-05-27 Thread Renato Alves
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quoting i...@whywouldwe.com on 05/27/2010 04:34 PM: > Hi > > Thought someone one this list would be able to fix the docs, > http://rpy.sourceforge.net/rpy2/doc/html/index.html is not working. > > > > ---

Re: [Rpy] Keep rpy object loaded in memory after cgi script ends

2009-02-18 Thread Renato Alves
ook at shared memory (/dev/shm in linux) or memory mapped files. It's not the ideal solution since you need to read/write it but it's considerably faster. -- Renato Alves -- Open Source Business Conference (

Re: [Rpy] rpy and mod_python problem

2008-06-25 Thread Renato Alves
t; > The use of from rpy import * is documented, e.g. at > http://rpy.sourceforge.net/rpy/doc/rpy_html/Small-example.html#Small-example > > > Cheers, > Christof > > > Re: [Rpy] rpy and mod_python problem > From: Renato Alves <[EMAIL PROTECTED]> - 2008-06-12 16:13 > It's no

[Rpy] Preventing R output to stdout

2008-06-24 Thread Renato Alves
Hi, I'm running a script that does a lot of statistical tests on different sets of data and causes a lot of "unwanted" output like: Warning message: In cor.test.default(c(130L, 414L, 325L, 287L, 232L, 336L, 640L, : Cannot compute exact p-values with ties Warning message: In cor.test.default(c

Re: [Rpy] Build problem under linux-x86_64

2008-06-20 Thread Renato Alves
Same here, Debian lenny amd64. Quoting Laurent Gautier on 06/19/2008 09:57 PM: > 2008/6/19 Tim Axelrod <[EMAIL PROTECTED]>: > >> Laurent Gautier wrote: >> >> >>> 2008/6/18 Tim Axelrod <[EMAIL PROTECTED]>: >>> >>> Hello, Just tried to install rpy for the first time, an

Re: [Rpy] rpy and mod_python problem

2008-06-12 Thread Renato Alves
It's not a good python practice to use: from somewhere import * Instead consider using: from somewhere import function1, function2, function3 ... (as needed) or simply: import rpy In the last case you will be using "rpy.r" instead of "r". Can you test if this works for your mod_python setup

Re: [Rpy] Arghh!!! RPY trials continue...Column naming fun.

2008-06-11 Thread Renato Alves
8 05:57 PM: > import rpy > > foo = rpy.r.list(a=1, b=2, c=3) > rpy.r["names"](foo) > > tmp = rpy.r["names<-"](foo, ['d', 'e', 'f']) > > rpy.r.str(tmp) > List of 3 > $ d: int 1 > $ e: int 3 > $ f: int 2 &

Re: [Rpy] Arghh!!! RPY trials continue...Column naming fun.

2008-06-11 Thread Renato Alves
you the wrong magic > > x <- r("'rownames<-'")(x, foo) > > -G > > On 6/11/08 12:01PM , "Renato Alves" <[EMAIL PROTECTED]> wrote: > > >> Hi Gregory, >> >> I've been trying to understand how to do the

Re: [Rpy] Arghh!!! RPY trials continue...Column naming fun.

2008-06-11 Thread Renato Alves
Hi Gregory, I've been trying to understand how to do the equivalent with the colnames function... without much success. I haven't been able to use your suggestion. I always get the error: unexpected '[' in "[" Apart from this, is <- valid python syntax? Or did you meant to say = ? An example

[Rpy] list to array/list ?

2008-06-05 Thread Renato Alves
I'm still new to rpy/R and came across a behavior that get's me confused and that in my opinion is a bit inconsistent. I've been trying understand how I can manipulate different R objects as python objects and came across something that I'm not sure if it's supposed to happen. >>> a = r.array