Hi, FWIW: I have built rpy2 for 32 and 64 bit Python several times in the past with Visual Studio and Intel ICL compilers. Compiling and linking was not a problem. However, none of those builds were stable and would crash on import. The problem was that R and Python use different, incompatible C runtime libraries; IIRC R tried to release memory allocated by Python/rpy2 or vice versa. The same problem also occurred with the R/tests/Embedding example so it does not seem to be rpy2 specific. Maybe things have changed since.
Christoph On 6/20/2012 5:58 AM, Uwe Schmitt wrote: > Hi Laurent, > > I will give it a try soon. I implemented some basic Python wrapper for > the open-ms project > using Cython an got some experiences with the visual c compilers. > > Regards, > Uwe > > > Am 20.06.2012 14:37, schrieb Laurent Gautier: >> The effort would be commensurate with: >> >> - how truly "windows build-able" the current code base is. I can't >> tell, since I am applying patches for win32-related features when they >> are making sense from reading them, and they are not breaking things >> for POSIX-like systems. >> >> - how confortable a given person is with: >> * having a development environment for R and C compiling with >> Windows (mingw). >> * having a development for build Python packages with C extensions >> with Windows. >> >> Create a fork of the bitbucket repository and see how it goes... >> >> Best, >> >> >> Laurent >> >> >> On 2012-06-20 14:00, Uwe Schmitt wrote: >>> >>> Hi, >>> >>> my question had a background: Currently I'm developing a framework >>> for LCMS-data analysis (see http://emzed.ethz.ch), where I want to >>> access >>> some R libraries from Python. >>> In the current version I resort to data exchange via file system >>> plus calling R via os.system, which is quite ugly. >>> >>> Can you estimate the efffort to build a windows version ? May be >>> I can contribute to a windows build. >>> >>> Regards, >>> >>> Uwe >>> >>> >>> >>> >>> Am 20.06.2012 12:47, schrieb Laurent Gautier: >>>> On 2012-06-20 11:25, Uwe Schmitt wrote: >>>>> Hi, >>>>> >>>>> I just played around with rpy2 on a linux box and I like it a lot. >>>> >>>> Thanks. There are certainly rough edge, please do not hesitate to >>>> bring up problematic use-cases or suggest patches (here or on the >>>> bitbucket page). >>>> >>>> >>>>> >>>>> What is the current state concering rpy2 for windows ? >>>> >>>> Unchanged from what is stated there: >>>> http://rpy.sourceforge.net/rpy2/doc-dev/html/overview.html#microsoft-s-windows-precompiled-binaries >>>> >>>> I dropped support after the 2.0.x series for rpy2. >>>> >>>>> As far as I know there is no support for rpy2 or am I wrong ? >>>> >>>> That's right, unfortunately. >>>> >>>> Sometimes someone steps forward to pick up the gauntlet, but so far >>>> it never lasted long enough for win32 support to be fully back on >>>> track. >>>> >>>> The latest development I remember of was Evgeny kindly contributing >>>> both patches and a tentative binary installer: >>>> https://bitbucket.org/lgautier/rpy2/issue/85/ive-tried-to-compile-rpy2-under-windows-xp >>>> >>>> >>>> >>>> >>>> Best, >>>> >>>> >>>> Laurent >>>> >>>> >>>>> >>>>> Kind Regards, >>>>> >>>>> Uwe >>>>> >>>> >>> >>> >> > > ------------------------------------------------------------------------------ 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