The error message: RuntimeError: No module named _rpy2062
RPy module can not be imported. Please check if your rpy installation supports R 2.6.2. If you have multiple R versions installed, you may need to set RHOME before importing rpy. For example: >>> from rpy_options import set_options >>> set_options(RHOME='c:/progra~1/r/rw2011/') >>> from rpy import * The R version installed is 2.6.2 Like I said, installing rpy from source fixes the problem without having to install any additional packages, but as my understanding of the package system is a little limited I could have missed something. I've reproduced this on two different machines with clean Ubuntu Hardy installs (as well as Gutsy). I'll also try contacting the package maintainer. Thanks, Lars Alex Mandel wrote: > I'll also toss in that this is likely an Ubuntu packaging error and you > should contact the package maintainer to see about fixing it. > > A quick work around, if you do the recompile use the checkinstall > option. A side benefit will be a .deb file that you can give to other > people with the same setup. It's not guaranteed to work on everyone > else's machines with 8.04 but for the same processor (say i386 installs) > it usually does. > > 2nd, tell us which module is missing, maybe there's another library that > needs to be installed with apt-get. > > Alex > > Laurent Gautier wrote: > >> Without further details on the missing module error, it is not easy to >> help... >> could you share them ? >> >> Thanks, >> >> >> L. >> >> >> 2008/6/5 Lars Tangvald <[EMAIL PROTECTED]>: >> >>> Hi, >>> >>> I'm working on an open-source project for running various >>> chemometrics-related algorithms (www.scicraft.org). >>> The software has used rpy from the beginning, as many of the desired >>> functions are readily available in R and not in Python. >>> >>> The problem we've encountered with Ubuntu 8.04 is that the default >>> rpy-package does not work with the default R-package, giving a missing >>> module error when rpy is initialized. >>> This is easily fixed by recompiling from source, but our software is >>> also used by people with little or no prior knowledge of Linux or rpy, >>> so this is a fairly major problem for us. >>> >>> Are there any plans to update the rpy package to fix this problem? >>> >>> regards, >>> Lars Tangvald >>> >>> > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list