On 2/5/10 8:01 PM, Mike Dewar wrote: > Hi, > > I'm not sure exactly what's changed since rpy2 was working. Quite > possibly both the python and the R versions have changed. Yes I've > tried re-installing rpy2, both via easy_install and by downloading > the latest version and running python setup.py install.
Which does not not answer so precisely to the question "what version of rpy2 are you using ?" ;-). > > The version of R I'm using could be the culprit: > > R version 2.10.1 Patched (2010-01-25 r51042) > > which is a very recent 64-bit version of R, needed for some > mircoarray processing. I am using rpy2 and R-2.10 on several 64bit machines running Linux... currently without problems. Enthought Python (EPD) has been at the root of problems with rpy2 in the past. Can you try without it ? > Does this provide any clues? > > Cheers, > > Mike > > On 5 Feb 2010, at 13:48, Laurent Gautier wrote: > >> On 2/5/10 6:56 PM, Mike Dewar wrote: >>> Hi, >>> >>> I'm getting a weird error when trying to import rpy2.robjects. >>> I'm on Mac OS X, 10.6.2. I haven't used rpy2 for a while, but I'm >>> sure that last time I did use it, this error was not occurring. I >>> have no idea what's changed, nor any real ability to track down >>> the source of this error. Here's all I know: >>> >>> Enthought Python Distribution -- http://www.enthought.com >>> Version: 6.0.0 (32-bit) >> >> Issues have been reported on Enthought Python (I am not running it >> myself, so I will not be able to help much). >> >>> Python 2.6.4 |EPD 6.0.0 (32-bit)| (r264:75706, Dec 11 2009, >>> 10:58:54) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin >>> >>>>>> import rpy2.robjects >>> Error in identical(env, as.environment(i)) : 5 arguments passed >>> to .Internal(identical) which requires 2 >>> >> >> You likely know a little more. >> >> What changed since the last time you used rpy2 ? The OS (was it >> with 10.5 ?), the R version (which one are you using by the way), >> the Python version, the rpy2 version (same, what version are you >> using) ? >> >> If something changed, did you reinstall rpy2 ? >> >> >> L. >> >> >>> Any help would be greatly appreciated, >>> >>> Cheers, >>> >>> Mike Dewar >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >> >>> The Planet: dedicated and managed hosting, cloud storage, colocation >>> Stay online with enterprise data centers and the best network in >>> the business Choose flexible plans and management services >>> without long-term contracts Personal 24x7 support from experience >>> hosting pros just a phone call away. >>> http://p.sf.net/sfu/theplanet-com >>> _______________________________________________ rpy-list mailing >>> list rpy-list@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/rpy-list >> > ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list