Well, if you don't care about its width, I'd suggest you use the pdf() device instead, e.g.
# 200 inches! pdf("hugeplot.pdf", width = 200, height = 200) par(mar = rep(0, 4)) plot(rnorm(10000), pch = 19) dev.off() Regards, Yihui -- Yihui Xie <xieyi...@gmail.com> Phone: 515-294-6609 Web: http://yihui.name Department of Statistics, Iowa State University 3211 Snedecor Hall, Ames, IA 2009/9/22 Zhengping Huang <zhengp...@gmail.com>: > Thanks a lot Yihui for your kindness and help. Yes I do need that graph. I > do not care about resolution as long as it's human readable. Please suggest > how I can make that work. > > Thanks again, > > Zhengping > > > On Tue, Sep 22, 2009 at 10:06 AM, Yihui Xie <xieyi...@gmail.com> wrote: >> >> Given the DPI=72, do you really need a graph that's wider than 450 >> inches? Or can you really read a picture that is so wide? >> >> Regards, >> Yihui >> -- >> Yihui Xie <xieyi...@gmail.com> >> Phone: 515-294-6609 Web: http://yihui.name >> Department of Statistics, Iowa State University >> 3211 Snedecor Hall, Ames, IA >> >> >> >> On Tue, Sep 22, 2009 at 11:30 AM, zphnabr <zhengp...@gmail.com> wrote: >> > >> > 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. >> > >> > ______________________________________________ >> > 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. >> > > > ______________________________________________ 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.