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:[EMAIL PROTECTED] Gesendet: Sonntag, 7. Dezember 2008 19:11 An: Nino Hardt Cc: r-help@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 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.