[R-SIG-Mac] Detecting GUI vs console?

Ben Haller rsigmac at sticksoftware.com
Fri Aug 13 16:22:54 CEST 2010


   Hi all.  I've started using mclapply(), which doesn't work well in  
the GUI.  I'd like to protect my code against mistakes by checking for  
whether I'm running under the GUI or the console.  Is there a standard  
way to do this?

   Thanks!

Ben Haller
McGill University



More information about the R-SIG-Mac mailing list