[R] density plot for very large dataset

Christophe Pallier pallier at lscp.ehess.fr
Mon Dec 15 12:24:10 CET 2003


Have you tried the 'sm.density' function from the sm library?
I used it for a dataset which 'only' had 130000 points.

> I'm new to R and am trying to perform a simple, yet 
> problematic task.  I 
> have two variables for which I would like to measure the 
> correlation and 
> plot versus each other.  However, I have ~30 million data points 
> measurements of each variable.  I can read this into R from file and 
> produce a plot with plot(x0, x1) but as you would expect, its 
> not pretty 
> to look at and produces a postscript file of about 700MB.  

Christophe Pallier
http://www.pallier.org




More information about the R-help mailing list