Christian Jauvin wrote:
> Hi Peter,
> 
> Thanks for the help!
> 
> But did you run the command through an Apache Python CGI like I did? 
> For me too the library loads flawlessly in a "normal" Python program,
> or in the interpreter. It is only in the CGI processing that it fails
> (however other libraries, like "DCluster", load correctly through the
> CGI).

Ah.  I didn't realise that - and its not something I can try easily on 
my setup.

I would still give the path trick a try - this solved a similar problem 
for me in the past.

It might be useful to know WHERE that error is coming from - my guess is 
from R trying to load its library.

>> both work fine for me using Windows XP, R 2.4.0 and a freshly 
>> installed spatstat 1.10-3 and mgcv 1.3-19, with Python 2.3 (all 
>> installed using pre-compiled binaries) and a self compiled slightly
>> patched rpy 0.99.2 What are you using?
> 
> I'm using RPy 1.0RC1, R 2.3.1 (I thought it wasn't possible yet to 
> use R 2.4 with RPy, I would like to know how you did tweak the 
> installer so that it works), spatstat 1.9-6 and mgcv 1.3-19, with 
> Python 2.4 on WinXP.

Once upon a time, the filename of the setup exe program told you which 
versions of R it supported.  As far as I know, the 1.0RC1 rpy installer 
comes with the compiled code for a range of versions of R - but not R 
2.4.0 (as yet).

You either have to compile your own (I used MSVC 6.0 with Python 2.3) or 
wait for an official update to the Windows Installer that includes 
support for the latest version of R.

It has already be requested on the SourcForge tracker:
[ 1592808 ] Need Rpy build for R 2.4.x
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=1592808&group_id=48422

If someone is going to to this, it might we worth building a Windows rpy 
installer for Python 2.5 as well...

Peter

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to