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

2013-01-07 Thread Karl Forner
Hello and thank you. Indeed gsubfn is responsible for loading tcltk in my case. On Thu, Jan 3, 2013 at 12:14 PM, Gabor Grothendieck wrote: > options(gsubfn.engine = "R") __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-deve

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

2013-01-03 Thread peter dalgaard
On Jan 3, 2013, at 14:20 , peter dalgaard wrote: > > (Looks like MacPorts moved to Tcl/Tk 8.6. I'll see if it works with their R > port.) Done. No obvious consequences (i.e. demo(tkdensity) and a few Rcmdr experiments came out same as they used to). -- Peter Dalgaard, Professor, Center for

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

2013-01-03 Thread Paul Johnson
Happy new year. On Mon, Dec 31, 2012 at 12: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. > > In parallel code (here with parallel::mclappy, but I got it > doMC/multicore too), if the library(tcltk) is loaded, R hangs when > tr

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

2013-01-03 Thread Simon Urbanek
On Jan 3, 2013, at 5:59 AM, peter dalgaard wrote: > > On Jan 3, 2013, at 10:32 , Karl Forner wrote: > >> Hello, >> >> The point is that I do not use tcltk, it gets loaded probably as a >> dependency of a dependency of a package. >> When I unload it all work perfectly fine. I just found it beca

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

2013-01-03 Thread Gabor Grothendieck
On Thu, Jan 3, 2013 at 7:45 AM, peter dalgaard wrote: > > On Jan 3, 2013, at 12:20 , Gabor Grothendieck wrote: > >> On Thu, Jan 3, 2013 at 5:59 AM, peter dalgaard wrote: >>> >>> On Jan 3, 2013, at 10:32 , Karl Forner wrote: >>> Hello, The point is that I do not use tcltk, it gets l

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

2013-01-03 Thread peter dalgaard
On Jan 3, 2013, at 13:13 , Prof Brian Ripley wrote: > On 03/01/2013 11:42, Duncan Murdoch wrote: >> On 13-01-03 6:20 AM, Gabor Grothendieck wrote: >> [snipped] >> I think it's unlikely that we will upgrade. The binaries available at >> that link do not have a license that would allow distribut

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

2013-01-03 Thread peter dalgaard
On Jan 3, 2013, at 12:20 , Gabor Grothendieck wrote: > On Thu, Jan 3, 2013 at 5:59 AM, peter dalgaard wrote: >> >> On Jan 3, 2013, at 10:32 , Karl Forner wrote: >> >>> Hello, >>> >>> The point is that I do not use tcltk, it gets loaded probably as a >>> dependency of a dependency of a package

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

2013-01-03 Thread Prof Brian Ripley
On 03/01/2013 11:42, Duncan Murdoch wrote: On 13-01-03 6:20 AM, Gabor Grothendieck wrote: On Thu, Jan 3, 2013 at 5:59 AM, peter dalgaard wrote: On Jan 3, 2013, at 10:32 , Karl Forner wrote: Hello, The point is that I do not use tcltk, it gets loaded probably as a dependency of a dependency

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

2013-01-03 Thread Duncan Murdoch
On 13-01-03 6:20 AM, Gabor Grothendieck wrote: On Thu, Jan 3, 2013 at 5:59 AM, peter dalgaard wrote: On Jan 3, 2013, at 10:32 , Karl Forner wrote: Hello, The point is that I do not use tcltk, it gets loaded probably as a dependency of a dependency of a package. When I unload it all work per

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

2013-01-03 Thread Gabor Grothendieck
On Thu, Jan 3, 2013 at 5:59 AM, peter dalgaard wrote: > > On Jan 3, 2013, at 10:32 , Karl Forner wrote: > >> Hello, >> >> The point is that I do not use tcltk, it gets loaded probably as a >> dependency of a dependency of a package. >> When I unload it all work perfectly fine. I just found it beca

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

2013-01-03 Thread Gabor Grothendieck
On Thu, Jan 3, 2013 at 4:32 AM, Karl Forner wrote: > Hello, > > The point is that I do not use tcltk, it gets loaded probably as a > dependency of a dependency of a package. > When I unload it all work perfectly fine. I just found it because one > of my computer did not have tk8.5 installed, and d

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

2013-01-03 Thread peter dalgaard
On Jan 3, 2013, at 10:32 , Karl Forner wrote: > Hello, > > The point is that I do not use tcltk, it gets loaded probably as a > dependency of a dependency of a package. > When I unload it all work perfectly fine. I just found it because one > of my computer did not have tk8.5 installed, and did

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

2013-01-03 Thread Karl Forner
Hello, The point is that I do not use tcltk, it gets loaded probably as a dependency of a dependency of a package. When I unload it all work perfectly fine. I just found it because one of my computer did not have tk8.5 installed, and did not exhibit the mentioned bug. So I really think something s

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/