[R] unique and precision of long integers
    Mark Myatt 
    mark at myatt.demon.co.uk
       
    Wed May 16 10:38:19 CEST 2001
    
    
  
Michael Herron <mherron at latte.harvard.edu> writes:
>I have a dataset with about 500,000 observations, most of which are
>not unique.  The first 10 observations look like
[stuff deleted]
I can think of two methods that might work ...
        1. Scan as strings rather than numbers
        2. Scan in as separate fields and then do sum sort of checksum
        function on all variables and unique() on the checksum.
Hope that helps.
Mark
--
Mark Myatt
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
    
    
More information about the R-help
mailing list