From murdoch.duncan at gmail.com  Tue Apr  5 17:23:51 2016
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Tue, 5 Apr 2016 11:23:51 -0400
Subject: [Rd] Under Windows,
 Rgui and Rterm crash if one tries to close the graphic device while
 identify or locator are running
In-Reply-To: <CANcXGixqBFipv1crwjnWre0=YykYk1VB6QVLvbf6EO1QAotHHg@mail.gmail.com>
References: <CANcXGixqBFipv1crwjnWre0=YykYk1VB6QVLvbf6EO1QAotHHg@mail.gmail.com>
Message-ID: <5703D887.1010204@gmail.com>

Thanks, I'll track this down.

Duncan Murdoch

On 05/04/2016 9:35 AM, Simone Giannerini wrote:
> minimal reproducible example
>
> plot(1,1)
> identify(1,1) # or locator()
>
> now, trying to close the window by clicking on the cross of the upper
> right corner causes Rgui (and Rterm) to crash.
>
> I see the same behaviour on 2 different Windows PC (one with Win 8.1
> and one with Win 10).
> I did not see the problem in linux (see below)
>
> WINDOWS **************
> > sessionInfo()
> R version 3.3.0 beta (2016-04-04 r70420)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows 10 x64 (build 10586)
>
> locale:
> [1] LC_COLLATE=Italian_Italy.1252  LC_CTYPE=Italian_Italy.1252
> [3] LC_MONETARY=Italian_Italy.1252 LC_NUMERIC=C
> [5] LC_TIME=Italian_Italy.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> > sessionInfo()
> R version 3.2.2 Patched (2015-09-29 r69441)
> Platform: x86_64-w64-mingw32/x64 (64-bit)
> Running under: Windows 10 x64 (build 10240)
>
> locale:
> [1] LC_COLLATE=Italian_Italy.1252  LC_CTYPE=Italian_Italy.1252
> LC_MONETARY=Italian_Italy.1252
> [4] LC_NUMERIC=C                   LC_TIME=Italian_Italy.1252
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> loaded via a namespace (and not attached):
> [1] tools_3.2.2
>
>
> ** LINUX *****************************
>
> > sessionInfo()
> R version 3.2.0 Patched (2015-04-21 r68221)
> Platform: x86_64-unknown-linux-gnu (64-bit)
> Running under: openSUSE 13.2 (Harlequin) (x86_64)
>
> locale:
>   [1] LC_CTYPE=it_IT.UTF-8       LC_NUMERIC=C
>   [3] LC_TIME=it_IT.UTF-8        LC_COLLATE=it_IT.UTF-8
>   [5] LC_MONETARY=it_IT.UTF-8    LC_MESSAGES=it_IT.UTF-8
>   [7] LC_PAPER=it_IT.UTF-8       LC_NAME=C
>   [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=it_IT.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> --
> ______________________________________________________
>
> Simone Giannerini
> Dipartimento di Scienze Statistiche "Paolo Fortunati"
> Universita' di Bologna
> Via delle belle arti 41 - 40126  Bologna,  ITALY
> Tel: +39 051 2098262  Fax: +39 051 232153
> http://www2.stat.unibo.it/giannerini/
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Under Windows, Rgui and Rterm crash if one tries to close the graphic device while identify or locator are running
Duncan Murdoch