Well, that's about the easiest fix I've ever seen. Works like a charm. 
Thanks!

Gary

On Fri, 12 Dec 2008, laurent oget wrote:

> This is a known issue when R_HOME is set.
>
> One easy work-around is to unset R_HOME and set your path so R is in the path.
>
> This is fixed in svn and will be fixed in the next release.
>
> Laurent
>
> 2008/12/12 Gary Strangman <str...@nmr.mgh.harvard.edu>:
>>
>> Hi RPy gurus,
>>
>> I'm trying to upgrade to rpy2 and ran into the following trouble (CentOS5,
>> R2.8.0). I got rpy2 to build without difficulty, and set RHOME
>> appropriately (note, if it matters I have R and rpy installed in a
>> non-standard site, as I don't have admin rights to put it in /usr/local).
>> I get the following behavior:
>>
>> /space/nsg/8/users> python
>> Python 2.4.3 (#1, Mar 14 2007, 18:51:08)
>> [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2
>> Type "help", "copyright", "credits" or "license" for more information.
>>>>> import rpy2
>>>>> import rpy2.robjects
>> cannot find system Renviron
>> Fatal error: unable to open the base package
>>
>> /space/nsg/8/users>
>>
>> I get the same error if I do "import rpy2.tests". Any suggestions? I
>> couldn't find anything on this in the archives except as pertains to
>> building the doc with Sphinx ...
>>
>> -best
>> Gary
>>
>> ------------------------------------------------------------------------------
>> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
>> The future of the web can't happen without you.  Join us at MIX09 to help
>> pave the way to the Next Web now. Learn more and register at
>> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
>> _______________________________________________
>> rpy-list mailing list
>> rpy-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/rpy-list
>>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> rpy-list mailing list
> rpy-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rpy-list
>
>
>

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to