From ripley at stats.ox.ac.uk  Thu Jan  3 13:13:29 2013
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 03 Jan 2013 12:13:29 +0000
Subject: [Rd] weird bug with parallel, RSQlite and tcltk
In-Reply-To: <50E56E9D.90508@gmail.com>
References: <CAMd4_Ac0+CgORVFfhFAXTttAza1iG1aagZ08j_E-U-rYZspLXg@mail.gmail.com>
	<52B72508-C480-4DF3-B1E6-8B9DDA0DFD78@r-project.org>
	<CAMd4_Af2FihaiMYsv8vKL4z_V+X4oWUtce4HDH5iqZa-V4ji7A@mail.gmail.com>
	<CB37B576-979C-462D-8362-10BC6F15B58E@gmail.com>
	<CAP01uR=Vm1+_AfhdTbvcuN_g-diXPMS7dgScptRN-82393LCeQ@mail.gmail.com>
	<50E56E9D.90508@gmail.com>
Message-ID: <50E575E9.2000203@stats.ox.ac.uk>

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 <pdalgd at gmail.com> 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 because one
>>>> of my computer did not have tk8.5 installed, and did not exhibit the
>>>> mentioned bug. So I really think something should be done about this.
>>>> Maybe the "gui loop" should not be run a the the loading of the tcltk
>>>> package, but
>>>> at the first function ran, or something like this.
>>>
>>> Doesn't sound doable. It would be tricky to do and wouldn't help in
>>> the cases where people actually want to use the GUI - plus, it would
>>> leave a time bomb if you directly or indirectly fire up a Tk window
>>> (say, the CRAN menu from install.packages()).
>>>
>>
>> Would it be possible to separate the tk and tcl portions of tcltk into
>> two packages so that the tcltk package would be dependent on a new tcl
>> package ?  From the viewpoint of a user of tcltk there would be no
>> change but it would allow packages that only use tcl to declare a
>> dependency only on that.
>>
>> By the way, tcl/tk 8.6 was released about 10 days ago with a ton of
>> attractive new features and it would be nice to have it in the R
>> windows build:
>> http://www.tcl.tk/software/tcltk/8.6.html
>
> I think it's unlikely that we will upgrade.  The binaries available at
> that link do not have a license that would allow distribution with R,
> and we no longer have the facilities (specific compiler, time, etc.) to
> compile it ourselves.  I haven't tried myself, but my understanding is
> that the sources are not compatible with our compiler suite.

More specifically, when last checked the sources do compile but do not 
work when loaded into R as memory gets corrupted.

Note that the version of Tcl/Tk made available for the CRAN Mac binary 
is older than that for Windows.

>
> Duncan Murdoch
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] weird bug with parallel, RSQlite and tcltk
Prof Brian Ripley