[Rpy] How do I debug a crash in the windows build of rpy2?

2012-12-31 Thread Johan Johansson
Hi All, I've been spending most nights this Christmas trying to get rpy2 going on my win 7 machine. To keep it interesting, I've decided to go for 64-bit R and Python. I've got it to build using mingw-w64-dgn (I was unable to create the necessary missing 64-bit libpython27.a using rtools). Unfort

Re: [Rpy] How do I debug a crash in the windows build of rpy2?

2013-01-01 Thread Johan Johansson
On Mon, Dec 31, 2012 at 4:25 PM, Laurent Gautier 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

Re: [Rpy] How do I debug a crash in the windows build of rpy2?

2013-01-01 Thread Johan Johansson
On Wed, Jan 2, 2013 at 12:07 AM, Laurent Gautier wrote: > On 2013-01-01 23:45, Johan Johansson wrote: >> #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 */ >

Re: [Rpy] How do I debug a crash in the windows build of rpy2?

2013-01-02 Thread Johan Johansson
= Extension( @@ -419,6 +433,7 @@ library_dirs = r_libs, define_macros = define_macros, runtime_library_dirs = r_libs, +extra_compile_args=extra_compile_args, #extra_compile_args=['-O0', '-g'], extra_link_args = extra_link_args

Re: [Rpy] How do I debug a crash in the windows build of rpy2?

2013-01-03 Thread Johan Johansson
Incorporated. Thanks for reminding me! Johan On Wed, Jan 2, 2013 at 3:41 PM, Thomas Kluyver wrote: > On 2 January 2013 14:25, Johan Johansson wrote: >> >> +if sys.version.find("64 bit") > 0: > > > General Pythonicness tip, you can check it more r

Re: [Rpy] How do I debug a crash in the windows build of rpy2?

2013-01-23 Thread Johan Johansson
Hi Christoph, Any idea why linking against the newer runtime libs would cause problems? Johan On Wed, Jan 23, 2013 at 10:07 PM, Christoph Gohlke wrote: > On 1/22/2013 8:41 PM, Christoph Gohlke wrote: >> On 1/1/2013 3:18 PM, Johan Johansson wrote: >>> On Wed, Jan 2, 2013 at