Ken Termiso wrote:
> Hi all,
> 
> When using heatmap() with a pdf driver, and specifying parameters for 
> mai in heatmap, I get a printout of the mai parameters at the top of the 
> pdf...see attachment.
> 
> This is on win2k pro with R2.2.1
> 
> Thanks,
> Ken
> 
> 

Not a bug since ?heatmap has a "main" argument. Thus,

heatmap(..., mai = c(1,2,3,4))

is actually interpretted as

heatmap(..., main = c(1,2,3,4))

due to R's partial matching of the argument list. You should try:

pdf()
par(mai = c(1,2,3,4))
heatmap(...)
dev.off()

Hopefully I've assessed this correctly.

HTH,

--sundar

P.S. See the posting guide regarding attachments to the list.

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to