Re: [Rd] weird bug with parallel, RSQlite and tcltk

2012-12-31 Thread Simon Urbanek
On Dec 31, 2012, at 4:20 PM, Marius Hofert wrote: > Dear Karl, > > I get exactly the same warning messages with an Rmpi minimal example (also > took > me a while to narrow it down). I posted it on R-sig-hpc (more appropriate for > these issues I believe), some days ago, but haven't received an

Re: [Rd] weird bug with parallel, RSQlite and tcltk

2012-12-31 Thread Simon Urbanek
On Dec 31, 2012, at 1:08 PM, Karl Forner wrote: > Hello, > > I spent a lot of a time on a weird bug, and I just managed to narrow it down. > First, tcltk and multicore don't mix well, see the warning in the documentation (it mentions GUIs and AFAIR tcltk fires up a GUI event loop even if you

Re: [Rd] weird bug with parallel, RSQlite and tcltk

2012-12-31 Thread Marius Hofert
Dear Karl, I get exactly the same warning messages with an Rmpi minimal example (also took me a while to narrow it down). I posted it on R-sig-hpc (more appropriate for these issues I believe), some days ago, but haven't received an answer yet. Cheers, Marius PS: https://stat.ethz.ch/pipermail/

Re: [Rd] Does dlltools in 64-bit rtools for windows support 64-bit machine type?

2012-12-31 Thread Prof Brian Ripley
On 31/12/2012 18:19, Duncan Murdoch wrote: On 12-12-30 9:07 AM, Johan Johansson wrote: Hi, I've been trying to get the python bridge (rpy2) to build for 64-bit R and python. The current stumbling block is that mingw can't use the python27.lib file that comes with CPython and so I need to genera

Re: [Rd] Does dlltools in 64-bit rtools for windows support 64-bit machine type?

2012-12-31 Thread Duncan Murdoch
On 12-12-30 9:07 AM, Johan Johansson wrote: Hi, I've been trying to get the python bridge (rpy2) to build for 64-bit R and python. The current stumbling block is that mingw can't use the python27.lib file that comes with CPython and so I need to generate libpython27.a. When I use dlltool from r

[Rd] weird bug with parallel, RSQlite and tcltk

2012-12-31 Thread Karl Forner
Hello, I spent a lot of a time on a weird bug, and I just managed to narrow it down. In parallel code (here with parallel::mclappy, but I got it doMC/multicore too), if the library(tcltk) is loaded, R hangs when trying to open a DB connection. I got the same behaviour on two different computers,

[Rd] Does dlltools in 64-bit rtools for windows support 64-bit machine type?

2012-12-31 Thread Johan Johansson
Hi, I've been trying to get the python bridge (rpy2) to build for 64-bit R and python. The current stumbling block is that mingw can't use the python27.lib file that comes with CPython and so I need to generate libpython27.a. When I use dlltool from rtools to do that however, I end up with a 32-b