Re: [Rpy] question, problem with arguments in r function

2011-12-01 Thread Thomas Kluyver
On 1 December 2011 15:59, Marko Limbek wrote: > resmca = r.MCA(datapm, ncp=3, quali.sup=r.c(4, 5, 6)) A Python keyword argument can't contain a dot. AFAIK, rpy2 automatically translates those cases to use underscores, so try quali_sup=... Thomas

Re: [Rpy] question, problem with arguments in r function

2011-12-01 Thread David Haynes
I am running windows 7, python 2.5, r 2.12 and I found the proper rpy2 install package rpy2-2.0.3.win32-py2.5.exethere is also an msi package. I successfully install the library and I can import the library "i

Re: [Rpy] question

2007-10-08 Thread Peter
zakaria ali wrote: > Dear Mrs > > how I can program in Python standard deviation?please help me because I > am a new programmer. Do you know the python programming language? Do you know the R programming language? This mailing list is about rpy. To use rpy you should already know the both pyt

Re: [Rpy] question

2007-10-08 Thread Gregory Warnes
To use Rpy to compute the standard deviation to something like: >>> import rpy RHOME= /Library/Frameworks/R.framework/Resources RVERSION= 2.5.1 RVER= 2051 RUSER= /Users/warnes Loading Rpy version 2051 .. Done. Creating the R object 'r' .. Done >>> x = [1,2,3,4,5] >>> rpy.r.sd(x) 1.58113883008