Hi Geord,

I run the code bellow without problem on R
R version 2.6.2 (2008-02-08)
i386-pc-mingw32

require(lattice)
setwd("c:\\temp")
 jpeg("test.jpeg")
d<-runif(10)
 d[1:10]
densityplot(~d[1:10])
dev.off()

Good luck with Mac!

miltinho

On 6/26/08, Georg Ehret <[EMAIL PROTECTED]> wrote:
>
> Dear R community,   I am using densityplot (lattice package) for a large
> dataset and wish to print it to a jpeg (the pdf is huge). R crashes
> consistently. Am I doing it wrong or is densityplot incompatible with jpeg?
> I work on a Mac, R 2.7.0.
>
> > require(lattice)
> > jpeg("test.jpeg")
> > d[1:10]
> [1] 0.700218 0.700175 0.700357 0.700847 0.698286 0.701520 0.698158 0.699300
> 0.698819
> [10] 0.698521
> > densityplot(~d[1:10])
>
> -> crash...
>
> Thank you!
> Georg.
> *********************
> Georg Ehret
> Johns Hopkins
> Baltimore, MD
> USA
>
>        [[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]]

______________________________________________
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