[R] R PNG graph width limitation

zphnabr zhengping at gmail.com
Tue Sep 22 18:30:07 CEST 2009


Hi folks,

I am trying to do a clustering and generate a long dendrogram in R on Linux
server:
=========
data<-read.table(file="mean_ratio.txt.noheader",row.names=1,sep="\t",quote="\"")
hc<-hclust(dist(data),"ward")
png(file="mean_ratio.txt.noheader.ward.png",bg="white",pointsize=8,width=32767,height=1536)
plot(hc,hang=-1)
dev.off()
=========

I found that 32767 is the largest width I can go.  I tried 32768 and the
graphics becomes all black.  I need to go higher since even with 32767 width
is not enough for the dendrogram.  What is the problem and what is the
workaround?

Thanks,

zphnabr
-- 
View this message in context: http://www.nabble.com/R-PNG-graph-width-limitation-tp25530814p25530814.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list