[R] scatterplot of 100000 points and pdf file format

Peter Dalgaard p.dalgaard at biostat.ku.dk
Thu Nov 25 19:02:32 CET 2004

(Ted Harding) <Ted.Harding at nessie.mcc.ac.uk> writes:

> I want to look into this a bit more systematically (I have
> an idea why 'unique' may be taking longer on the array from
> 'cbind' than on the dataframe),

Just look inside the functions. One is pasting columns together, the
other is using a paste() construct inside an apply() function. So with
two columns by 1e6 rows, one is doing one large paste and the other a
million small ones.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907

More information about the R-help mailing list