[R] PDF and PS output

Hans Halvorson hhalvors at Princeton.EDU
Wed Mar 30 22:04:41 CEST 2005


Ach -- such a simple mistake.  Thank you for pointing out my error,
and I apologize for wasting your time.

Best wishes,
Hans



Peter Dalgaard <p.dalgaard at biostat.ku.dk> writes:

> Hans Halvorson <hhalvors at 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 at biostat.ku.dk)             FAX: (+45) 35327907




More information about the R-help mailing list