I figured out already thanks for your help. Edward Chen


-----Original Message-----
From: Benilton Carvalho
Sent: 8/19/2009 12:33:12 AM
To: Edward Chen
Cc: r-help@r-project.org
Subject: Re: [R] jpeg() does not work
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@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.


	[[alternative HTML version deleted]]


