Skip to content

Windows/7706 (PR#7889)

7 messages · Andy Bunn, Philippe GROSJEAN, James W. MacDonald +1 more

#
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:
I 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
#
Is there a way to check the png build on my system?
#
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. 
You can compile R yourself with various versions of libpng. Looking at: 
http://www.murdoch-sutherland.com/Rtools/, you can read that R 2.1.0 was 
(probably?) compiled using libpng-1.2.5.tar.gz, i.e., the latest stable 
version. You could try libpng-1.2.6 to see if it solves your problem.
Best,

Philippe Grosjean
Andy Bunn wrote:
#
Philippe Grosjean wrote:
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
#
I have an Intel Pentium M processor at 1.60GHz so I guess this isn't
specific to the AMD. I just rebuilt from source using the current RTools
suite and get the same glitch. I have not tried the latest png version.

-Andy
#
James W. MacDonald wrote:
I think this is likely related to bug 7860, which I fixed right around 
May 14.  Does your CHANGES file include these lines:
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