[Rd] Saving Graphics File as .ps or .pdf (PR#10403)

From: <Jane_Harvill_at_Baylor.Edu>
Date: Tue, 6 Nov 2007 16:05:04 +0100 (CET)

Full_Name: Jane L. Harvill
Version: 2.6.0
OS: Microsoft Windows XP Professional, Version 2002, Service Pack 2 Submission from: (NULL) (

PROBLEM: The ability to save the contents of an R Graphics window as a postscript or PDf file through the drop-down menu (File -> Save As -> Postscript, or File -> Save As -> PDF) results in the error message below being printed to the R Console.


Error: Invalid font type
In addition: Warning messages:
1: font family not found in PostScript font database 2: font family not found in PostScript font database
> >


1.  Using the R Console, create some graph in R; for example, plot(rnorm(100)).
2.  Select File -> Save As -> PostScript  (or File -> Save As -> PDF).
3.  Supply a file name and click the "Save" button.

1. I checked to see if the same error results when invoking the functions pdf(file=...) or postscript(file=...). No error results, and the content of the output (.ps or .pdf) file produces a duplicate of what appears in the R Graphics window.

2. I checked, but did not see any other bug reports in the system that are relevant to this problem.

3. Before I submitted this R Bug Report, I reinstalled the PostScript fonts, and then reinstalled R Version 2.6.0. This did not change the outcome.

4. This problem did not exist in previous versions of R on any of my computers.  It exists on all computers for version 2.6.0 of R.

R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 06 Nov 2007 - 15:48:13 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 Wed 07 Nov 2007 - 15:30:14 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.