On Thu, Feb 21, 2008 at 8:08 AM, Lore Merdrignac <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have a problem with the package "survival" in rpy. I have to use the
> function survit() , and it works with R but not by calling R from python
> with rpy :
>
> >>> ss=r.survfit(s,weights=pds)
> Traceback (mos
On Thu, Feb 21, 2008 at 9:19 AM, Lore Merdrignac <[EMAIL PROTECTED]> wrote:
>
>
> > Date: Thu, 21 Feb 2008 15:03:52 +0100
>
>
> > From: [EMAIL PROTECTED]
> > To: rpy-list@lists.sourceforge.net
> > Subject: Re: [Rpy] help with the package survival
> >
> > May be im
On Thu, Feb 21, 2008 at 10:50 AM, Lore Merdrignac <[EMAIL PROTECTED]> wrote:
>
> I still have the same error ... :(
>
>
> >>> from rpy import r
> >>> r.library("survival")
> Le chargement a nécessité le package : splines
> ['survival', 'splines', 'stats', 'graphics', 'grDevices', 'utils',
> 'datas
On Fri, Feb 22, 2008 at 12:36 PM, marco hofmann <[EMAIL PROTECTED]> wrote:
> Hi all,
> I have a problem with the predict command. Here is an example:
>
> from rpy import *
> r.library("nnet")
> model = r("Fxy~x+y")
>
> df = r.data_frame(x = r.c(0,2,5,10,15)
>,y = r.c(0,2,5,
On Sun, May 18, 2008 at 7:06 PM, Mirco Musolesi
<[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I tried to install rpy.py on my Mac (running Mac OS X Leopard), but I
> got the following error:
>
> musolesi$ python rpy.py install
> Traceback (most recent call last):
> File "rpy.py", line 134, in
>
First, Laurent, I am giving rpy2 a try and REALLY like what I see so
far. It is very much more intuitive, both from the point-of-view of
an R programmer as well as for python programmers.
Data frames are very nice R data structures, so I would like to
capitalize on them and the changes included i
On Thu, Jun 26, 2008 at 12:05 PM, Laurent Gautier <[EMAIL PROTECTED]> wrote:
> yes.
Unless you use a package like Rmpi. I have NO idea how that would
work with Rpy, but it is another possibility. Also, I think there has
been some work to vectorize the math libraries.
Sean
> 2008/6/26 laurent o
On Wed, Jun 25, 2008 at 5:30 PM, Laurent Gautier <[EMAIL PROTECTED]> wrote:
> 2008/6/25 Sean Davis <[EMAIL PROTECTED]>:
>> First, Laurent, I am giving rpy2 a try and REALLY like what I see so
>> far. It is very much more intuitive, both from the point-of-view of
>&g
On Thu, Jun 25, 2009 at 9:40 AM, reyman wrote:
> Thanks a lot for your response Peter,
>
> > I've not used these libraries, but one important question is are you
> familiar
> > with both R and python?
>
> No, i'm beginer... but i need to learn this two technology this summer,
> because this is th
On Sun, Sep 27, 2009 at 8:10 AM, Peng Yu wrote:
> Hi,
>
> My rpy2 is of version 2.0.7.
>
> I got the following error when I load 'oligo'. Can somebody let me
> know how to fix the problem?
>
> Regards,
> Peng
>
from rpy2.robjects import r
r.library('oligo')
> Loading required package: ol
On Thu, Feb 18, 2010 at 9:35 AM, zahra sheikhbahaee
wrote:
> Hi,
>
> I need to use ggplot2 package for plotting my results. I could use it when I
> just work with R but when I import it in my python program, I got this
> message:
import rpy2.robjects.lib.ggplot2 as ggplot2
> Loading required
On Tue, Mar 16, 2010 at 2:38 PM, Ernesto wrote:
>
> What command would you use in R, or are you new to R as well?
>
>
> I'm new to R as well!
Hi, Ernesto.
You'll definitely need to learn R before using Rpy2 effectively. In
R, type help(fisher.test).
Sean
--
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
he code that you previously used, and see what
he/she has to say about how to accomplish that task with the current
code base.
Sean
> 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:
>&
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
On Tue, May 25, 2010 at 3:25 PM, John Owens wrote:
> What is this "hexbin" package (for building the docs)? Google is not
> particularly helpful here.
>
>
Interesting. Top google hit for me. : )
http://www.bioconductor.org/packages/2.6/bioc/html/hexbin.html
Sean
> JDO
>
> nanaimo-bar 9385$
In this case, I'd suggest simply making a copy of the function
(cut-and-paste with appropriate modifications) into your Rpy session before
it is needed.
Sean
On Tue, Nov 29, 2011 at 2:23 AM, Marko Limbek wrote:
> Hi,
>
>
> I have a problem using a modified R function. In R I get it as
> functio
On Aug 5, 2013 7:51 PM, "Denis Papathanasiou"
wrote:
>
> I'm using rpy2 to access quantmod functions like this:
>
> >>> from rpy2.robjects import r
> >>> r('library(quantmod)')
> >>> r('getSymbols("GOOG")')
> >>> g = r('quarterlyReturn(GOOG)')
>
> When I print g, I see it has the dates in the left
On Sun, Nov 17, 2013 at 11:02 PM, Thomas Kluyver wrote:
> On 17 November 2013 19:10, Hodgess, Erin wrote:
>
>> This is on a server. The python that I use is 2.7.5, but the system is
>> 2.4
>>
>
> If you're not using the system Python, you should generally install it
> using the Python you're us
I'm totally new to rpy (and relatively to python). I would like to do the
rpy equivalent of the R code:
a <- data.frame(col1=rnorm(100),col2=rnorm(100), col3=1:100)
b <- a[a$col1>1,]
newdf <- a[b,]
More generally, one of the advantages of R is its powerful indexing, but I
haven't figured out ho
On 4/12/07, Ling Fung Tang <[EMAIL PROTECTED]> wrote:
Hi,
I would like to use rpy in a cgi script.
it doesn't have any problem if i run it a command prompt, however,
when i put it onto the server, it doesn't work
Remember that cgi scripts are run as a different user than "you". You may
nee
I haven't started playing much with S4 classes from RPy. I have used S4
classes a good bit in R, but wondered if anyone had some pointers on
constructing them and using them in RPy. In particular, there are many
packages in Bioconductor that heavily utilize S4 classes for data
manipulation, calc
On 4/23/07, Gregory Warnes <[EMAIL PROTECTED]> wrote:
Hi Sean,
RPy should be perfectly happy with S4 classes, so you should be able
to do what you want.
Thanks, Greg.
Sean
-
This SF.net email is sponsored by DB2 Express
On 10/1/07, Chris Parkin <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> My questions is in regards to using Rpy in the Pylons web framework to
> build an online interface for microarray data analysis. If I simply include
> the command "from rpy import *" in my pylons application controller, the
> serve
On 10/3/07, Jorge de Jesus <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> I am trying to load a R library called sp using the command:
> r.library("sp")
>
> Then I get "RException error saying that it was not possible to load."
>
> Inside the R environment everything is ok.
>
> I have changed the Rprofi
On 10/4/07, Jorge de Jesus <[EMAIL PROTECTED]> wrote:
>
> Hi
>
> Yes, everything is OK from inside R, library loading, functions running.
> Only when calling r.library or r.source (from Python) with the library
> option is when I have this "problem"
>
> I even made some try: exception: in python t
Just a quick question, I hope. I am trying to draw a heatmap of a numpy
array. Here is what I have tried and the output:
In [43]: x=numpy.array([1,2,3,4,5,6],dtype=numpy.float64)
In [44]: x.shape=2,3
In [45]: rpy.r.heatmap(x)
On 10/24/07, Peter <[EMAIL PROTECTED]> wrote:
>
> Sean Davis wrote:
> > Just a quick question, I hope. I am trying to draw a heatmap of a numpy
> > array.
>
> Could you try using a Numeric array instead for comparison, as that
> works for me while numpy does not (
On 10/24/07, Matthew Brett <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> > : Error in function (x, Rowv = NULL, Colv = if
> > (symm) "Rowv" else NULL, :
> > 'x' must be a numeric matrix
>
> You haven't run into the 64 bit problem I posted a while ago have you?
I can reproduce the problem, yes.
[EMA
On 10/24/07, Gregory Warnes <[EMAIL PROTECTED]> wrote:
>
>
> Hi All,
>
> I've made a bunch of changes in the SVN source code repository, some
> of which are specifically related to Numeric/NumPy conversion. Can
> y'all give the new code a try to see if it helps?
Greg,
Thanks for making the cha
On Jan 15, 2008 1:38 PM, richard mendes <[EMAIL PROTECTED]> wrote:
>
> Hello Rpy users,
>
> Probably a very simple question but i couldn't find the answer in the
> documentation.
> i have a r script which uses a while loop, how should i execute this in
> rpy ?
>
> the script looks like:
>
> i<-1
>
31 matches
Mail list logo