Re: [Rd] savePlot bug in R 2.6.0? (PR#10420)

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Mon, 12 Nov 2007 08:41:56 +0000 (GMT)

This is the same as PR#10403. See

https://stat.ethz.ch/pipermail/r-devel/2007-November/047352.html

which links to a workaround: it has long been fixed in R-patched.

On Sun, 11 Nov 2007, lupi_at_unimol.it wrote:

> Full_Name: Claudio Lupi
> Version: 2.6.0
> OS: Windows XP
> Submission from: (NULL) (85.18.14.35)
>
>
> Try the following:
>
> xy <- matrix(rnorm(20),10,2)
> plot(xy)
> savePlot("c:/xy", type="pdf")
> savePlot("c:/xy", type="eps")
>
> This used to work fine with previous R versions. Instead, with R 2.6.0 I get:
>
>> xy <- matrix(rnorm(20),10,2)
>> plot(xy)
>> savePlot("c:/xy", type="pdf")
> Error in savePlot("c:/xy", type = "pdf") : Invalid font type
> In addition: Warning messages:
> 1: In savePlot("c:/xy", type = "pdf") :
> font family not found in PostScript font database
> 2: In savePlot("c:/xy", type = "pdf") :
> font family not found in PostScript font database
>> savePlot("c:/xy", type="eps")
> Error in savePlot("c:/xy", type = "eps") : Invalid font type
> In addition: Warning messages:
> 1: In savePlot("c:/xy", type = "eps") :
> font family not found in PostScript font database
> 2: In savePlot("c:/xy", type = "eps") :
> font family not found in PostScript font database
>>
>
> savePlot works fine with type = "bmp".
>
> ______________________________________________
> R-devel_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Mon 12 Nov 2007 - 08:45:31 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 Tue 13 Nov 2007 - 09:30:17 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.