Hoi,
The following
require(ggplot2)
zz <- data.frame( xx <- runif(n=750000 ), yy <- runif(n=750000) )
ggplot(zz,aes(x=xx,y=yy))+geom_point()
takes about a minute to plot on my machine ( dual core, 4Gig )
But with so many point you might want to use a different kind of plot,
or just plot a sample of data.
If you save such a plot as pdf it will take a very long time to render too.
Frans.
On 13 September 2012 22:15, matdodds <
matthe...@hotmail.com> wrote:
> Hi ggplotters,
>
> I'm new to R and ggplot. I'm working in RStudio and trying to scatterplot
> some data from a microarray background correction using ggplot.
>
> I entered the code below
>
> p <- ggplot(data.mas, aes(x=raw.log, y=bgcorr.log, colour=cel))
> p <- p + geom_point(shape=".")
> p
>
> but my machine simply freezes, obviously doing a lot of work but producing
> nothing. Eventually I had to kill RStudio. Is the scale of the data an issue
> here? (there's ~750k rows of data)
>
> summary(p)
> data: cel, raw, bg.correct, bg.only,
> bg.method, raw.log, bgcorr.log,
> bgonly.log [743895x8]
> mapping: x = raw.log, y = bgcorr.log, colour = cel
> faceting: facet_null()
> -----------------------------------
> geom_point: na.rm = FALSE, shape = .
> stat_identity:
> position_identity: (width = NULL, height = NULL)
>
> suggestions, pointers as to how I can get these data plotted would be very
> welcome. please could these be clear-for-a-beginner! thanks
>
> M
>
> --
> You received this message because you are subscribed to the ggplot2 mailing
> list.
> Please provide a reproducible example:
>
https://github.com/hadley/devtools/wiki/Reproducibility
>
> To post: email
ggp...@googlegroups.com
> To unsubscribe: email
ggplot2+u...@googlegroups.com
> More options:
http://groups.google.com/group/ggplot2