Fixed this by adding the path to R.dll to PATH environment variable.

Regards, Uwe

Am 19.07.2012 11:40, schrieb Uwe Schmitt:
> Very nice !!!
>
> I have to change my current working directory to the location of R.dll,
> else win32api.LoadLibrary in  rinterface/__init__.py fails to load R.dll.
> I think the reason is that R.dll depends on the other shared libraries
> in the same folder which are only found if the working directory is
> set in this way.
>
> Btw: why is R.dll loaded at all ? The result is thrown away ....
>
> But how did you do built the extension module  ? Afaik there were severe
> problems mixing a mingw built R.dll with a Visual Studio generated Python
> extension module.
>
> Kind regards,
> Uwe
>
> Am 18.07.2012 18:46, schrieb Brad Reisfeld:
>> Hi,
>>
>> I have created a binary installer for rpy2 for win32 platforms and
>> have lightly tested it on Windows 7.
>>
>> It may be downloaded from the following url:
>>
>> https://bitbucket.org/breisfeld/rpy2_w32_fix/issue/1/binary-installer-for-win32
>>
>> The current code, forked from lgautier's Bitbucket repository and
>> tweaked slightly, suffers from a problem that named temporary files
>> created by rpy2 under certain circumstances are not automatically
>> deleted (at least on Windows 7). Thus, these files must currently be
>> deleted by hand.
>>
>> Kind regards,
>> Brad
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> rpy-list mailing list
>> rpy-list@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/rpy-list
>


-- 
Dr. rer. nat. Uwe Schmitt
Leitung F/E Mathematik

mineway GmbH
Gebäude 4
Im Helmerswald 2
66121 Saarbrücken

Telefon: +49 (0)681 8390 5334
Telefax: +49 (0)681 830 4376

uschm...@mineway.de
www.mineway.de

Geschäftsführung: Dr.-Ing. Mathias Bauer
Amtsgericht Saarbrücken HRB 12339






------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to