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

[Rpy] question, problem with arguments in r function

2011-12-01 Thread Marko Limbek
Hello! I want to run MCA (Multiple Correspondence Analysis, package FactoMineR) WITH ARGUMENTS "quali.sup" to use supplementary variables and I get SyntaxError. I tried different orders. What should I do? Marko resmca = r.MCA(datapm, ncp=3, r.quali_sup=r.c(4, 5, 6)) resmca = r.MCA(datapm, ncp=3