On Fri, 13 Aug 2010, Ben Haller wrote:

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?

See ?.Platform

Thanks!

Ben Haller
McGill University

--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

_______________________________________________
R-SIG-Mac mailing list
R-SIG-Mac@stat.math.ethz.ch
https://stat.ethz.ch/mailman/listinfo/r-sig-mac

Reply via email to