[R] graphics output produces corrupt/empty files

Ernesto Jardim ernesto at ipimar.pt
Tue Apr 15 17:15:21 CEST 2003


On Tue, 2003-04-15 at 15:53, Martin Schmettow wrote:
> 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?
> 
> CU
> Martin.

Hi

After producing your file with pdf() you have to do dev.off()

pdf("file")
plot(...)
dev.off()

Have you done it ?

Regards

EJ



More information about the R-help mailing list