Skip to content

Problems with Rcmdr via XQuartz on OSX Mavericks

5 messages · Brian Ripley, John Fox, Rob Goedman

#
So for people with a CRAN build of R, the tick box is the way to go 
(and/or keep the console visible).  I've added that to the R-admin manual.

If you do build R.app against 10.9, then you should be using the App Nap 
API. I think that in part is straightforward, as 'busy' gets set when 
the R interpreter is evaluating.  So Re_RBusy needs to use the

beginActivityWithOptions:reason:,
endActivity:,

methods on the NSProcessInfo class.  I'll leave that to someone fluent 
in ObjC.
On 30/11/2013 23:19, Robert J Goedman wrote:

  
    
3 days later
#
Dear Brian and Rob,

Pending another solution, I've modified the Rcmdr installation notes at
<http://socserv.socsci.mcmaster.ca/jfox/Misc/Rcmdr/installation-notes.html>
to suggest that users of the Rcmdr under OS X 10.9 either run R from a
terminal window or check the Prevent App Nap box in the R.app Get Info
dialog. Please take a look at the notes and see whether they are
sufficiently clear and correct.

Thanks,
 John
#
Hi Rob,

On Wed, 04 Dec 2013 20:16:39 -0700
Robert J Goedman <goedman at icloud.com> wrote:
Thanks for checking out the Rcmdr installation notes. I don't think that many Rcmdr users will build R.app themselves.
That makes sense. What about providing an installer option to prevent App Nap?

Best,
 John
------------------------------------------------
John Fox
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/
#
Hi John,

Well, I would be in favor to set NSAppSleepDisabled to YES by default, basically as it has been the last 10 years. Once we figure out how to use and control this feature we can enable it again.

My experience has anyway been if I really use R on my battery it lasts ~4 hours, that is running a lot of Stan, Jags, Mathematica or my own Finite Element stuff. I think that is quite ok and rarely a problem, even on transatlantic flights from the West Coast these days.

Sent from Rob Goedman's iPad Mini