News for hackers. Stuff that matters.

foomanmanfoo

Re:K Isn't Lisp on Tuesday February 13, 2024 @02:01PM (#39361358)
Unsure of performance but using R's `data.table`(which has uses beyond this example so installing this library shouldn't be a one off)

   library(data.table)
   v <- rbindlist(list(
       data.table(e1=1, string='one'),
       data.table(e1=1, string='two'),
       data.table(e1=1, string='three'),
       data.table(e1=1, string='one'),
       data.table(e1=1, string='four'),
       data.table(e1=1, string='two'))
    )
   v[, list(counter= sum(e1)),by= string]
Re:LuaJIT 2.0.3 on Wednesday March 12, 2014 @06:50PM (#7388960)
I've been toying with LuaJIT+Terra for writing extensions to R (see http://people.mozilla.org/~sguha/blog/2013/08/01/rterra_firs...)