[R] graphics device problems

Uwe Ligges ligges at statistik.uni-dortmund.de
Sun Feb 29 16:38:12 CET 2004


David Parkhurst wrote:

> I'm using R 1.8.0 under windows XP.  I can't get certain of the graphics devices set up.  For example, when I copy this line directly from the "postscript" help screen, I get the error messages that follow it:
> 
> 
>>postscript("foo.ps")
> 
> Error in PS(file, old$paper, old$family, old$encoding, old$bg, old$fg,  : 
>         unable to start device PostScript
> In addition: Warning message: 
> cannot read afm file hvo_____.afm 
> 
> I have a similar problem with the pdf device (which I think is my preferred device for my present job):
> 
> 
>>pdf("myfile.pdf")
> 
> Error in PDF(file, old$family, old$encoding, old$bg, old$fg, width, height,  : 
>         unable to start device pdf
> In addition: Warning message: 
> cannot read afm file hvo_____.afm 
> 
> Any suggestions would be welcome.  

Looks like your installation is broken.

Does the file ...\rw1080\afm\hvo_____.afm exist? If yes, do you have 
read permissions?

You might want to re-install R. Also, it's a good idea to upgrade to 
R-1.8.1, because R-1.8.0 is a bit buggy on Windows ...

Uwe Ligges


> Dave Parkhurst
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list