Skip to content

Detecting GUI vs console?

2 messages · Ben Haller, Brian Ripley

#
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
#
On Fri, 13 Aug 2010, Ben Haller wrote:

            
See ?.Platform