jpeg(...) ##if you have X11
bitmap(..., type="jpeg") ##otherwise

b

On Jul 20, 2007, at 11:34 AM, Ding, Rebecca wrote:

> Dear R users,
>
> I used R to draw many histograms and I would like to automatically  
> save
> them into a jpeg file. I tried the following code since I know .ps  
> file
> could be saved like this way:
>
> postscript("AYA_ELA.jpeg",horizontal=F,onefile=T)
> ......#some funtions inside here
> dev.off()
>
> There was a jpeg file, however, there is no pictures inside. Any
> suggestion?
>
> Thanks.
>
> Rebecca

______________________________________________
R-help@stat.math.ethz.ch 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