[R] error with bitmap, please help

kayj kjaja27 at yahoo.com
Thu Aug 19 15:38:27 CEST 2010


Hi All 


I still have a problem with “bitmap” function in R, I have downloaded
ghostscript 8.71 and added the path to the executable to the path
environment variable, by going to the control panel , system, advanced
system settings, added C:\Program Files(x86)\gs\gs8.71\bin to the path
variable. I have also added the R executable path to the path variable. I
have a 64 bit computer with windows 7 as an operating system. When running
the following script, I get an error in the system 

df=read.table("sample.txt",sep="\t") 
bitmap(file="sample.JPG",type="jpeg",width=5,height=5,res=300,pointsize=10) 
Error in system(paste(gsexe, "-help"), intern = TRUE, invisible = TRUE) : 
  gswin32c.exe not found 
plot(df$V1,df$V2,pch=20,col="blue") 

is there anything that I am missing?? 

Thanks for your input 




-- 
View this message in context: http://r.789695.n4.nabble.com/error-with-bitmap-please-help-tp2331196p2331196.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list