[R] problem with Bitmap

2010-08-11 Thread kayj
Hi All, I am trying to run the following script but I am getting and error message one=read.table(sample.txt,sep=\t) bitmap(file=sample.JPG,type=jpeg,width=5,height=5,res=300,pointsize=10) “Error in (st + 1):(en - 1) : argument of length 0” plot(one$V1,one$V2) I tried to google the error but

Re: [R] problem with Bitmap

2010-08-11 Thread Bill.Venables
: Wednesday, 11 August 2010 7:25 AM To: r-help@r-project.org Subject: [R] problem with Bitmap Hi All, I am trying to run the following script but I am getting and error message one - read.table(sample.txt,sep=\t) bitmap(file=sample.JPG,type=jpeg,width=5,height=5,res=300,pointsize=10) Error in (st

Re: [R] problem with Bitmap

2010-08-11 Thread Prof Brian Ripley
that we've not seen before. What happens if you use the jpeg driver directly? -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of kayj Sent: Wednesday, 11 August 2010 7:25 AM To: r-help@r-project.org Subject: [R] problem with Bitmap

Re: [R] problem with Bitmap

2010-08-11 Thread kayj
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? the version of ghostscript that I installed i from the following link http://pages.cs.wisc.edu/~ghost/doc/GPL/gpl871.htm and

Re: [R] problem with Bitmap

2010-08-11 Thread David Winsemius
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