Hi Hannes, > Dear all, > > I tried: >> iris >> species.n <- as.numeric(Species) >> plot(iris, col = species.n) >> savePlot(filename="IrisTestPlot", type="png")
You might try quartz.save("Iris.png","png") I think this is an undocumented function that is specific to the Mac GUI. You can search the r-sig-mac archives for some discussion/information. Hope this helps, Michael > and got the error message: > Fehler in savePlot(filename = "IrisTestPlot", type = "png") : > kann nur aus 'X11(type="*cairo")' Devices kopieren > > (sorry, I have a german version of R). > > I tried: >> postscript("IrisTestPlot.eps", >> paper="special",height=6,width=6,onefile=FALSE,horizontal=FALSE) > > and > >> postscript(file="IrisTestPlot2.pdf", onefile = FALSE, horizontal = FALSE, >> paper = "special", width = 8, height = 8) > > in both cases there are files produced that cannot be opened. Error > message: the bounding box is missing. > > > I use 64 bit R under Snow Leopard. > >> sessionInfo() > R version 2.10.1 (2009-12-14) > x86_64-apple-darwin9.8.0 > > locale: > [1] de_DE.UTF-8/de_DE.UTF-8/C/C/de_DE.UTF-8/de_DE.UTF-8 > > attached base packages: > [1] stats graphics grDevices utils datasets methods base > > loaded via a namespace (and not attached): > [1] tools_2.10.1 > > > Are there any configurations I missed to make? > > > Thanks in advance for your time and help! > > Sincerely, > Hannes > > ______________________________________________ > 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. > -- Michael Denslow I.W. Carpenter Jr. Herbarium [BOON] Department of Biology Appalachian State University Boone, North Carolina U.S.A. -- AND -- Communications Manager Southeast Regional Network of Expertise and Collections sernec.org 36.214177, -81.681480 +/- 3103 meters ______________________________________________ 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.