[Rd] Filename bug in png

Richard Cotton Richard.Cotton at hsl.gov.uk
Thu Jul 3 12:43:50 CEST 2008


In R2.7.1, the first line of the body of png() reads:
checkIntFormat(filename)

This should really be: 
if (!checkIntFormat(file)) 
        stop("invalid 'file'")

Otherwise a command such as png("foo%s.png") causes R to crash (see bug
#10571).

-----
Regards,
Richie.

Mathematical Sciences Unit
HSL
-- 
View this message in context: http://www.nabble.com/Filename-bug-in-png-tp18256526p18256526.html
Sent from the R devel mailing list archive at Nabble.com.



More information about the R-devel mailing list