HI peter,

My understanding is that that box disappears if R.app is build against OS X 10.9.

I've never seen that box (as I have been building against 10.9 for quite a while now), but I know folks have.

As long as it is there I fully agree, much easier than defaults ....

Regards,
Rob J. Goedman
goedman@icloud.com




On Nov 30, 2013, at 11:09 AM, peter dalgaard <pdalgd@gmail.com> wrote:

> 
> On 30 Nov 2013, at 16:58 , Robert J Goedman <goedman@icloud.com> wrote:
> 
>> Yes, I've seen that as well and it is likely not limited to tcltk.
>> 
>> Question is, for R.app, do we want to ship with NSAppSleepDisabled? I would be in favor (my $0.02).
>> 
>> If yes I will commit.
> 
> 
> One item: I found that there is a tick box "Prevent App Nap" available via Get Info for applications (secondary click in the Applications folder), which is somewhat more intuitive that the "defaults write ..." route. If we make your change, will the same box appear, just selected by default?
> 
>> 
>> Regards,
>> Rob J. Goedman
>> goedman@icloud.com
>> 
>> 
>> On Nov 30, 2013, at 7:00 AM, peter dalgaard <pdalgd@gmail.com> wrote:
>> 
>>> 
>>> On 30 Nov 2013, at 12:37 , Prof Brian Ripley <ripley@stats.ox.ac.uk> wrote:
>>> 
>>>> This does not happen for me provided R.app is visible.  From
>>>> 
>>>> https://developer.apple.com/library/mac/releasenotes/MacOSX/WhatsNewInOSX/Articles/MacOSX10_9.html
>>>> 
>>>> 'An app is considered to be a candidate for sleep if:
>>>> 
>>>> It is not visible—if all of an app’s windows are either hidden by other windows or minimized in a hidden dock, and the app is not in the foreground
>>>> 
>>>> (other necessary conditions)'.
>>>> 
>>>> which if accurate indicates that keeping the R.app console unhidden should suffice.
>> 
>> 
>> 
>> On Nov 28, 2013, at 6:35 AM, Robert J Goedman <goedman@icloud.com> wrote:
>> 
>>> Hi, and Happy Thanksgiving for those that celebrate it!
>>> 
>>> If Peter is right (and I expect he is, but will experiment a bit more if the setting can be updated while R.app is running and take effect immediately), I would suggest for now folks just use 'defaults ...' from a terminal window if they encounter these issues.
>>> 
>>> Once we understand better what might be affected by allowing the sleep mode we can possibly refine that approach.
>>> 
>>> Regards,
>>> Rob
>>> 
>> 
>> 	[[alternative HTML version deleted]]
>> 
>> _______________________________________________
>> R-SIG-Mac mailing list
>> R-SIG-Mac@r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 
> -- 
> Peter Dalgaard, Professor,
> Center for Statistics, Copenhagen Business School
> Solbjerg Plads 3, 2000 Frederiksberg, Denmark
> Phone: (+45)38153501
> Email: pd.mes@cbs.dk  Priv: PDalgd@gmail.com
> 
> 
> 
> 
> 
> 
> 
> 


	[[alternative HTML version deleted]]

