From Richard.Cotton at hsl.gov.uk  Thu Jul  3 12:43:50 2008
From: Richard.Cotton at hsl.gov.uk (Richard Cotton)
Date: Thu, 3 Jul 2008 03:43:50 -0700 (PDT)
Subject: [Rd]  Filename bug in png
Message-ID: <18256526.post@talk.nabble.com>


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.



[Rd] Filename bug in png
Richard Cotton