Skip to content
Back to formatted view

Raw Message

Message-ID: <x2ekdwsylk.fsf@turmalin.kubism.ku.dk>
Date: 2005-03-30T19:49:43Z
From: Peter Dalgaard
Subject: PDF and PS output
In-Reply-To: <m364z8j4x0.fsf@princeton.edu>

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