[Rd] Misleading error message for quartz.save (PR#10406)

From: <christoph.bonitz_at_gmail.com>
Date: Wed, 7 Nov 2007 18:15:13 +0100 (CET)

Full_Name: Christoph Bonitz
Version: 2.5.1
OS: Mac OS 10.4
Submission from: (NULL) (

When trying something like this:

quartz.save("/path/and/filename.pdf",type=pdf) (notice: type=pdf instead of the correct type="pdf")

the error message is:

"Filename must be a string."

The filename actually *is* a string, the *file type* isn't, therefore the message is misleading. Change to something like

"File type must be a string"

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 08 Nov 2007 - 09:09:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 08 Nov 2007 - 11:30:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.