The "issue" is with the .deb packager.
That means that R-2.6.2 was not around when the package was built (may
be it was not released then).

Currently rpy is building a C-level module for each version of R (and
is looking for
the matching module at run time). Greg and I started discussing on
that: the need
appeared because symbol names in R are changing through versions.
One possibility is to relax the one-to-one association between a
version of R and
a C-level module, and keep the same python module until the R symbol
names used in RPy change.


L.



2008/6/5 Lars Tangvald <[EMAIL PROTECTED]>:
> 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
>

-------------------------------------------------------------------------
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

Reply via email to