Dear All, I am trying to save a plot made with ggplot as pdf. I just created the plot, then printed it to the default graphics device (screen). I then tried to create a pdf file choosing (from the menus) File-Save As-PDF file. However, I get an error as 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 I am using R2.6.0 on Windows. I would appreciate any help about how to solve this Thanks, Pedro
Pedro de Barros wrote:>Dear All, > >I am trying to save a plot made with ggplot as pdf. > >I just created the plot, then printed it to the default graphics >device (screen). I then tried to create a pdf file choosing (from the >menus) File-Save As-PDF file. However, I get an error as >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 > >I am using R2.6.0 on Windows. >I would appreciate any help about how to solve this > >Thanks, >Pedro > >Hi, may you provide a code sample (commands producing the figure) to try and reproduce this error ? Thibaut. -- ###################################### Thibaut JOMBART CNRS UMR 5558 - Laboratoire de Biom?trie et Biologie Evolutive Universite Lyon 1 43 bd du 11 novembre 1918 69622 Villeurbanne Cedex T?l. : 04.72.43.29.35 Fax : 04.72.43.13.88 jombart at biomserv.univ-lyon1.fr http://lbbe.univ-lyon1.fr/-Jombart-Thibaut-.html?lang=en http://pbil.univ-lyon1.fr/software/adegenet/
This has been reported several times already and has been fixed in R-2.6.0 patched. Uwe Ligges Pedro de Barros wrote:> Dear All, > > I am trying to save a plot made with ggplot as pdf. > > I just created the plot, then printed it to the default graphics > device (screen). I then tried to create a pdf file choosing (from the > menus) File-Save As-PDF file. However, I get an error as > 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 > > I am using R2.6.0 on Windows. > I would appreciate any help about how to solve this > > Thanks, > Pedro > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Thanks!!! Sorry for not having checked that - just did not remember... Thanks again, Pedro At 12:59 2007/10/29, you wrote:>This has been reported several times already and has been fixed in >R-2.6.0 patched. >Uwe Ligges > > > >Pedro de Barros wrote: >>Dear All, >>I am trying to save a plot made with ggplot as pdf. >>I just created the plot, then printed it to the default graphics >>device (screen). I then tried to create a pdf file choosing (from >>the menus) File-Save As-PDF file. However, I get an error as >>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 >>I am using R2.6.0 on Windows. >>I would appreciate any help about how to solve this >>Thanks, >>Pedro >>______________________________________________ >>R-help at r-project.org mailing list >>https://stat.ethz.ch/mailman/listinfo/r-help >>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >>and provide commented, minimal, self-contained, reproducible code.
Oh PLEASE do look in the list archives: this has come up several times. It does not happen in R-patched, and a simple workaround for 2.6.0 has already been posted here. On Mon, 29 Oct 2007, Pedro de Barros wrote:> Dear All, > > I am trying to save a plot made with ggplot as pdf. > > I just created the plot, then printed it to the default graphics > device (screen). I then tried to create a pdf file choosing (from the > menus) File-Save As-PDF file. However, I get an error as > 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 > > I am using R2.6.0 on Windows. > I would appreciate any help about how to solve this > > Thanks, > Pedro > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- 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