[R] problem with png()
Ingo Holz
Ingo.Holz at uni-hohenheim.de
Thu Nov 15 11:01:43 CET 2007
Hi,
I am runing R2.6.0 (2007-10-03) on WindowsXP.
If I use png() to save a plot I lose the main title.
An example:
##########################
outfile <- "outfile.png"
p11 <- histogram( ~ height | voice.part, data = singer, xlab="Height",
main="Ingo's title")
p2 <- histogram( ~ height, data = singer, xlab = "Height")
png(outfile, width=800, height=800)
print(p11, split=c(1,1,1,2), more=TRUE)
print(p2, split=c(1,2,1,2))
dev.off()
########################
In my "outfile.png" I do not see "Ingo's title".
I know that it is not possible to reproduce this "error" on LINUX.
Thank you for your help.
Ingo
More information about the R-help
mailing list