On Fri, 2009-04-10 at 12:51 -0400, Mark Larsen wrote:
> Thanks Laurent.
> 
> > Where was the hack needed ?
> > Setting your target R as the first one found in the PATH should be
> > enough.
> 
> You are correct, I didn't need to hack it, I wasn't sure.  My hack was
> to hardcode RHOMES.

Well, on the other hand this is not documented so hacking it could have
been a safe way to ensure the wanted behavior.

The code in setup.py is still having parts for performing compilations
of the C-level module against different R versions (as done in RPy),
while basically what is currently done is compiling against one version
then consider it ok as long as the symbol table/exported names is not
changing.
The 2.0.x series is hoped to provide the experience to tell which way it
working, and the code cleaned up/modified accordingly for 2.1.0 (or
changes backported to 2.0.x)

> A little progress.  rpy2.robjects imports against R version 2.8.1 but
> when I do the import I get:
> 
> Error in capabilities("aqua") :
>   1 argument passed to .Internal(capabilities) which requires 0

?! Weren't you on a Linux machine ?
(aqua is for OS X, and your machine is amd64 - not something OS X is
known to be officially working on)

> In addition: Warning message:
> package grDevices in options("defaultPackages") was not found
> Error : .onLoad failed in 'loadNamespace' for 'grDevices'
> Error in capabilities("aqua") :
>   1 argument passed to .Internal(capabilities) which requires 0
> In addition: Warning message:
> package graphics in options("defaultPackages") was not found
> Error : .onLoad failed in 'loadNamespace' for 'grDevices'
> During startup - Warning message:
> package stats in options("defaultPackages") was not found
> 
> Thanks for anymore insights.

Did you try having the install clearly distinct by using the option
--prefix (and a setting PYTHONPATH accordingly) ?


L.





------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to