[R-SIG-Mac] R editor freezes after running a script

Fox, John jfox at mcmaster.ca
Thu Oct 20 20:46:12 CEST 2016


Dear Jose,

Is it possible that you have app nap turned on for R.app, as it is by default? If so, R can appear to freeze when the its window isn't visible. If you experience the problem again, you might try turning app nap off via the Rcmdr Tools menu.

I hope this helps,
 John
-----------------------------
John Fox, Professor
McMaster University
Hamilton, Ontario
Canada L8S 4M4
web: socserv.mcmaster.ca/jfox


________________________________________
From: R-SIG-Mac [r-sig-mac-bounces at r-project.org] on behalf of Jose G Conde Santiago via R-SIG-Mac [r-sig-mac at r-project.org]
Sent: October 20, 2016 2:37 PM
To: r-sig-mac at r-project.org
Subject: Re: [R-SIG-Mac] R editor freezes after running a script

I tried to replicate the crash by using R without R Commander, and I could not. I tried again with R and R Commander, and now I cannot replicate the crash either.

I was running an antivirus program (Avast) when the issue came out, which I uninstalled yesterday. This is the only change in my setup that might explain the original issue, though I am not sure.

Thanks.

José

José G. Conde, MD, MPH
Catedrático, Escuela de Medicina
Director, CentIT2
Recinto de Ciencias Médicas, UPR

Tel  (787) 763-9401  Fax (787) 758-5206

Correo electrónico: jose.conde1 at upr.edu

URL: http://rcmi.rcm.upr.edu

> On Oct 19, 2016, at 4:33 PM, Jose G Conde Santiago <jose.conde1 at upr.edu> wrote:
>
> Correction:
>
> I *** do not *** see this  behavior when running R from RStudio (0.99.903) plus R Commander and using the RStudio console to run the scripts.
>
> José
>
>
> José G. Conde, MD, MPH
> Catedrático, Escuela de Medicina
> Director, CentIT2
> Recinto de Ciencias Médicas, UPR
>
> Tel  (787) 763-9401  Fax (787) 758-5206
>
> Correo electrónico: jose.conde1 at upr.edu
>
> URL: http://rcmi.rcm.upr.edu
>
>> On Oct 19, 2016, at 4:18 PM, Jose G Conde Santiago <jose.conde1 at upr.edu> wrote:
>>
>> Hello.
>>
>> I am running R (3.3.1) with R Commander (2.3-0) and XQuartz (2.7.9) on an iMac (late 2012) with Sierra. RAM is 32 GB. The file I am working with has about 350,000 records and 200 variables.
>>
>> After running a script from the R console (using either the GLM or epiR libraries) the editor freezes when I try to open a new script, and I get the spinning beach ball. When the editor freezes, I still have at least 20 GB of free RAM. The only way out is to force quit R.
>>
>> The epiR script repeats a series of calculations for a group of about 30 2 x 2 tables (epi2by2). The GLIM script runs Poisson regression with robust variance estimation. Both scripts run smoothly.
>>
>> I do see this behavior when running R from RStudio (0.99.903) plus R Commander and using the RStudio console to run the scripts.
>>
>> The issue does not disappear when I reinstall R.
>>
>> Thanks.
>>
>> José
>>
>> José G. Conde, MD, MPH
>> Catedrático, Escuela de Medicina
>> Director, CentIT2
>> Recinto de Ciencias Médicas, UPR
>>
>> Tel  (787) 763-9401  Fax (787) 758-5206
>>
>> Correo electrónico: jose.conde1 at upr.edu
>>
>> URL: http://rcmi.rcm.upr.edu
>>
>

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac at r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-mac



More information about the R-SIG-Mac mailing list