[R] quartz() and windows()

Nino Hardt nino.hardt at kuei.de
Sun Dec 7 19:18:23 CET 2008


Hi,

thanks for your quick reply.

I just added the following in front of everything else in the script:

if(.Platform$OS.type=="windows") {
  quartz<-function() windows()
}

Works as expected.


Thanks,
Nino


-----Ursprüngliche Nachricht-----
Von: Marc Schwartz [mailto:marc_schwartz at comcast.net] 
Gesendet: Sonntag, 7. Dezember 2008 19:11
An: Nino Hardt
Cc: r-help at r-project.org
Betreff: Re: [R] quartz() and windows()

on 12/07/2008 10:17 AM Nino Hardt wrote:
> Hi,
> 
> when windows and mac users collaborate, one always has to use
search&replace
> on the quartz() function.
> 
> Is there a better way? Some command which tells whether one is working in
a
> Windows or OSX setting?


See ?.Platform

HTH,

Marc Schwartz



More information about the R-help mailing list