On 2013-01-01 23:45, Johan Johansson wrote:
> On Mon, Dec 31, 2012 at 4:25 PM, Laurent Gautier <lgaut...@gmail.com> wrote:
>> Which versions of R, Rtools, and rpy2 did you try this with ? (I am
>> understanding from the above that Python is 2.7, and I assume that this is
>> the latest in the 2.7 series).
> R 2.15.2, Rtools Collection 2.16.0.1923, rpy2 tip and Python 2.7.3. I
> get the feeling that the crash is for more fundamental reasons than
> version issues though, since it's so early. I've been wrong before
> though!

The rpy2 version matters much. The tip (Hg's default) is the version 
2.4.0-dev.
At this point it does not differ to much from the tip in the branch 
VERSION_2.3.x but support for Python < 3 will be dropped for rpy2-2.4.x.

>
>> I have tentatively fixed the C codebase in rpy2 to get
>> it to compile with Win64, without having try it (for lack of time - I have
>> Python, mingw and R installed in Wine, so technically I "only" need to sort
>> out details). I am pleasantly surprise to hear that it does compile.
> Compile it does, but it seems to fail this check in modsupport.h
>
> #if SIZEOF_SIZE_T != SIZEOF_INT
> /* On a 64-bit system, rename the Py_InitModule4 so that 2.4
>     modules cannot get loaded into a 2.5 interpreter */
> #define Py_InitModule4 Py_InitModule4_64
> #endif
>
> which forced me to make the same definition on the command line to get
> it to link. This makes me suspicious.
The comment suggests that this concerns pre-Python2.4 vs post-Python2.5 
compiled module.
May be not a big issue for now.

>
>> Silly question, but did you already try to compile for Win32 to check that
>> the problem is Win64-specific ?
> I haven't had time yet, but if my current avenue of exploration
> doesn't pan out, I will.
>
> Johan


------------------------------------------------------------------------------
Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS
and more. Get SQL Server skills now (including 2012) with LearnDevNow -
200+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only - learn more at:
http://p.sf.net/sfu/learnmore_122512
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to