On Aug 11, 2010, at 1:16 PM, kayj wrote:


Hi,

if I use the jpeg driver directly like

one <- read.table("sample.txt",sep="\t")
jpeg(file="sample.JPG)
plot(V2 ~ V1,one)

and it did not plot anything! why is that?

Because you did not "finish the job". Try adding:

dev.off()



the version of ghostscript that I installed i from the following link

I am not sure what that has to to with jpeg files, since my understanding was that Ghostscript created .ps files and had associated facilities for .pdf doc types. But maybe I am behingd the times,> It wouldn't be the first time.



http://pages.cs.wisc.edu/~ghost/doc/GPL/gpl871.htm

and installed gs871w64.exe

Ah, a windows user.


thanks for your help
--

David Winsemius, MD
West Hartford, CT

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to