Message-ID: <ACD1644AA6C67E4FBD0C350625508EC836597ECC@FHSDB2D11-2.csu.mcmaster.ca>
Date: 2016-10-20T18:46:12Z
From: John Fox
Subject: R editor freezes after running a script
In-Reply-To: <4104CDEE-01FD-4834-A164-CF65BAB974EC@upr.edu>
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