[R] Plotting device does not show all graphs

From: John S <john.smithr75_at_gmail.com>
Date: Thu, 26 May 2011 11:23:40 -0400


Dear All,

I am creating 4 plots (files) but I could see only 3. Here is a simple code

 d=data.frame(age=rnorm(100,40,8),ht=rnorm(100,170,15))

tiff(file=paste("test","%03d",".tif",sep=""))

hist.data.frame(d)

datadensity(d)

par(mfrow=c(1,2),mar=c(3,3,3,3))

boxplot(d$age)

hist(age)

dev.off()

PDF works fine but png and tiff seems to miss the second graph. I must be missing something
Thanks!!!

        [[alternative HTML version deleted]]



R-help_at_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. Received on Thu 26 May 2011 - 15:25:58 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 26 May 2011 - 16:00:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive