[R] graphics output produces corrupt/empty files

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Apr 15 17:13:21 CEST 2003


Martin Schmettow <martin.schmettow at bibliothek.uni-regensburg.de> writes:

> Hi there.
> 
> as a newbie I figured out the basics of R but when it came to graphic
> output it was a bad surprise.
> All but the X11 device do not function properly. Most of them generate
> an empty file and pdf() produces non valid output (gs and acroread as
> well).
> Very annoying, because I have to write a report.
> I got the recent stable binary rpm (v1.6.2) from CRAN on a SuSE Linux 8.1.
> Any help?

Don't forget dev.off() when you're finished plotting; the file I/O is
buffered. Or plot to X11 and use dev.copy2eps(file="foo.eps").

-- 
   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