[R] jpeg() does not work
Benilton Carvalho
bcarvalh at jhsph.edu
Wed Aug 19 02:33:12 CEST 2009
what do you get with:
capabilities()[["jpeg"]]
?
b
On Aug 18, 2009, at 7:27 PM, Edward Chen wrote:
> My script:
> raw = read.table("c:\\Documents and Settings\\protein\\My Documents\
> \My
> Fragments\\file1.txt", header = TRUE)
>
> #Normal Average Signal VS Pool
> jpeg("Normal Average Signal vs Pool_test.jpg", width = 800, height =
> 600)
> xx_norm = raw[,3]
> yy_norm = rowMeans(raw[,4:13])
> plot(xx_norm, yy_norm)
> dev.off()
>
> I confirmed that the data base works and the plot function does work
> on its
> own. But whenever I try running it and output to jpg, it gives me
> "null
> device"
> the whole script was working just earlier.
> thanks for the help.
>
>
> --
> Edward Chen
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> 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