With 2.1 on Windows XP SP2 (32 bit) I also get no title in a png plot, so I can reproduce this bug. R is installed from pre-built binary. No title appears when I run this: png("foo.png") plot(1:10, main = "foo") dev.off() The jpeg device behaves as expected: jpeg("foo.jpg") plot(1:10, main = "foo") dev.off() Thoughts on this? It looks like http://r-bugs.biostat.ku.dk/cgi-bin/R/Windows?id=7706 Cheers, -Andy R > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 1.0 year 2005 month 04 day 18 language R
abunn@whrc.org wrote:> With 2.1 on Windows XP SP2 (32 bit) I also get no title in a png plot, so I > can reproduce this bug. R is installed from pre-built binary. > > No title appears when I run this: > png("foo.png") > plot(1:10, main = "foo") > dev.off() > The jpeg device behaves as expected: > jpeg("foo.jpg") > plot(1:10, main = "foo") > dev.off() > > Thoughts on this? It looks like > > http://r-bugs.biostat.ku.dk/cgi-bin/R/Windows?id=7706 > > Cheers, > -Andy > > R > version > _ > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status > major 2 > minor 1.0 > year 2005 > month 04 > day 18 > language RI can't reproduce this bug (work as expected) on my system: Windows XP SP2 US with: > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 1.0 year 2005 month 04 day 18 language R So, similar config as yours???!!! Best, Philippe Grosjean
Philippe Grosjean wrote:> According to the link you cite > (http://r-bugs.biostat.ku.dk/cgi-bin/R/Windows?id=7706), it seems it is > related to an AMD Athlon processor. Mine is an Intel Pentium IV HT > 3.0Ghz processor, which could explain, why I cannot reproduce this bug.I don't think it is AMD specific, because I can reproduce this bug using R-2.1.0 patched on a P4 HT processor. I get the same result as Andy using both png("foo.png") plot(1:10, main="foo") dev.off() and plot(1:10, main="foo") savePlot("foo","png") Best, Jim platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status Patched major 2 minor 1.0 year 2005 month 05 day 14 language R -- James W. MacDonald Affymetrix and cDNA Microarray Core University of Michigan Cancer Center 1500 E. Medical Center Drive 7410 CCGC Ann Arbor MI 48109 734-647-5623
James W. MacDonald wrote:> Philippe Grosjean wrote: > >>According to the link you cite >>(http://r-bugs.biostat.ku.dk/cgi-bin/R/Windows?id=7706), it seems it is >>related to an AMD Athlon processor. Mine is an Intel Pentium IV HT >>3.0Ghz processor, which could explain, why I cannot reproduce this bug. > > > I don't think it is AMD specific, because I can reproduce this bug using > R-2.1.0 patched on a P4 HT processor. I get the same result as Andy > using both > > png("foo.png") > plot(1:10, main="foo") > dev.off() > > and > > plot(1:10, main="foo") > savePlot("foo","png") > > Best, > > Jim > > > platform i386-pc-mingw32 > arch i386 > os mingw32 > system i386, mingw32 > status Patched > major 2 > minor 1.0 > year 2005 > month 05 > day 14I think this is likely related to bug 7860, which I fixed right around May 14. Does your CHANGES file include these lines:> For some operations on windows() and related devices the first text > drawn could be improperly sized. (PR#7860).If not, please download a newer copy of R-patched, and see if you can still reproduce the bug. I can't reproduce it in a recent build. Duncan Murdoch