Re: [R] PDF and PS output

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Thu 31 Mar 2005 - 05:49:43 EST

Hans Halvorson <hhalvors@princeton.edu> writes:

> I'm using R 2.0 on Redhat Linux 9. When I try to produce PDF or PS
> output, the files are corrupted -- they won't open in Acroread, xpdf,
> ggv, and on attempting to convert to PNG, I get message "This file has
> corrupted %%EOF marker." Perhaps I am just doing something wrong. I
> did:
>
> > pdf()
> > hist(unlist(foo.bar))
>
> I have no trouble viewing the output in Xwindows.

Did you terminate the device properly (dev.off() or exit from R)?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Mar 31 06:10:57 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:57 EST