par(mfrow=c(2,2),family="mono")
plot(1:10)
plot(1:10)
plot(1:10)
plot(1:10)
dev.off()
postscript(filename="myfile.ps")
plot(1:10,family="mono")
dev.off()
Best regards,
Benjamin Otto
-----Urspr?ngliche Nachricht-----
Von: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
Gesendet: Tuesday, December 11, 2007 5:48 PM
An: Benjamin Otto
Cc: R-Help
Betreff: Re: [R] Mono in postscript device
On Tue, 11 Dec 2007, Benjamin Otto wrote:
Hi,
Plotting a graphic into a postscript device using family="mono"
returns the following error message:
family 'mono' not included in PostScript device
Looking at postscriptFonts() however lists the "Courier" font as
availeable mono font. So where is the problem?
The 'problem' is that you have not provided us with reproducible code, and
used an obsolete version of R. At least some of the ways you might have
done this you needed to specify the 'fonts' argument to postscript().
As a minimal example,
postscript(family="mono")
plot(1:10)
dev.off()
works in R 2.6.1. If that does not work for you, you need to update.
If it does, you need to consider what you did differently.
Thanks guys for your help.
Best regards
Benjamin
sessionInfo()
R version 2.5.0 (2007-04-23)
i386-pc-mingw32