check for .Platform$GUI=="AQUA" stefano
On 05/mag/07, at 04:02, Steven McKinney wrote: > > Is there a way to programatically > check whether the R session is > running with R.app (versus, say > running in Emacs ESS mode in an > Emacs buffer)? > > I'd like to programatically decide on > appropriate plot devices etc. > > I've checked Sys.info() and related functions > but I'm not noticing R.app info in > any returned fields. Either I missed > something or I haven't found the right > function call yet. > > Any info appreciated. > > > Best > > Steven McKinney > > Statistician > Molecular Oncology and Breast Cancer Program > British Columbia Cancer Research Centre > > email: [EMAIL PROTECTED] > > tel: 604-675-8000 x7561 > > BCCRC > Molecular Oncology > 675 West 10th Ave, Floor 4 > Vancouver B.C. > V5Z 1L3 > Canada > > _______________________________________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
