Skip to content

PDF and PS output

4 messages · Hans Halvorson, Peter Dalgaard, Ulises M. Alvarez

#
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:
I have no trouble viewing the output in Xwindows.

Thanks,
Hans
#
Hans Halvorson <hhalvors at princeton.edu> writes:
Did you terminate the device properly (dev.off() or exit from R)?
#
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:
#
Hi:

dev.off()

Check your file now...

That's it!
Hans Halvorson wrote: