News for hackers. Stuff that matters.
Re:Homogenization of scientific computing – Python is eating... by mbq on Thursday January 09, 2014 @03:09PM (#7032839)
R version for comparison (;

    length(unique(scan('test.txt',character(),sep=" ")))
Re:Homogenization of scientific computing – Python is eating... by eeshanC on Friday January 10, 2014 @02:17AM (#7035496)
Very clean. 1 small change to make it count of frequencies-

table(scan('test.txt',character(),sep=" "))