[R] problem with Bitmap

Bill.Venables at csiro.au Bill.Venables at csiro.au
Wed Aug 11 09:37:43 CEST 2010


The types of bitmap available depend on the ghostscript you have installed.  Have you checked that yours handles jpeg?

What happens if you use the jpeg driver directly?

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of kayj
Sent: Wednesday, 11 August 2010 7:25 AM
To: r-help at 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 + 1):(en - 1) : argument of length 0"
plot(V2 ~ V1,one)

I tried to google the error but did not find anything!
I have ghostscript installed and added to the path environment.

Your help is greatly appreciated,

Thanks,

-- 
View this message in context: http://r.789695.n4.nabble.com/problem-with-Bitmap-tp2320477p2320477.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help at 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.



More information about the R-help mailing list