[R] "Cannot find new threads: generic error" when require(RODBC) with -d gdb

2008-03-31 Thread Matthew Dowle
Hi, We have the error below. Any ideas ? Regards, Matt $ R --vanilla -d gdb GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribut

[R] [R-pkgs] data.table is on CRAN (enhanced data.frame for time series joins and more)

2009-03-31 Thread Matthew Dowle
Dear all, The data.table package was released back in August 2008. This email is to publicise its existence in response to several suggestions to do so. It seems I didn't send a general announcement about it at the time and therefore perhaps, not surprisingly, not many people know about it. Gl

Re: [R] Merge data frame and keep unmatched

2009-07-13 Thread Matthew Dowle
Or if you need it to be fast, try data.table. X[Y] is a join when X and Y are both data.tables. X[Y] is a left join, Y[X] is a right join. 'nomatch' controls the inner/outer join i.e. what happens for unmatched rows. This is much faster than merge(). "Gabor Grothendieck" wrote in message

Re: [R] How to order an data.table by values of an column?

2009-07-14 Thread Matthew Dowle
If the question really meant to say "data.table" (i.e. package "data.table") then its easier than the data.frame answer. dt = data.table(Categ=c(468,351,0,234,117),Perc=c(31.52,27.52,0.77,22.55,15.99)) dt[order(Categ)] Notice there is no dt$ required before dt$Categ. Also note the comma is opti

[R] Video demo of using svSocket with data.table

2009-08-20 Thread Matthew Dowle
Dear r-help, If you haven't already seen this then : http://www.youtube.com/watch?v=rvT8XThGA8o The video consists of typing at the console and graphics, there is no audio or slides. Please press the HD button and maximise. Its about 8 mins. Regards, Matthew __