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@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