Re: [Rd] JIT compiler library

2007-02-21 Thread Marcus G. Daniels
Vladimir Dergachev wrote: > Since this escaped my notice before, I thought it useful to post a link here > - > in case you have not seen it either: > > http://www.gnu.org/software/lightning/lightning.html > > This a portable JIT compiler library with fairly easy syntax (one syntax - > many cpus)

[Rd] -std=c99 and inline semantics

2007-03-19 Thread Marcus G. Daniels
Hi, I noticed that with the GCC trunk (4.3.0), the semantics of "extern inline" have reversed. The net result is that R will build without the usual-stdc=gnu99 but it won't with it. Many multiple definitions result otherwise. Marcus __ R-devel@r-p

Re: [Rd] error in lattice formattedTicksAndLabels.Date (PR#9590)

2007-03-30 Thread Marcus G. Daniels
Hi Jim, > x <- rnorm(12) > t <- seq( as.Date("2006-04-01"),by="month", length=12) > > plot(x~t) # Has labels "May", "Jul", "Sep", "Nov", Jan", "Mar" > xyplot(x~t)# Has labels "Jan", "Mar" How about: plot(x~t,xaxt="n") axis(1,at=t,labels=format.Date(t)) ___

Re: [Rd] Compiling R for the Sony Playstation 3?

2007-08-03 Thread Marcus G. Daniels
Hi, >> Beyond that, there may be a few more things that can be done to make R run >> "stupidly fast" on ps3 or IBM Cell blades. >> >> > > Wouldn't the right way to go here be to make it use the PS3 graphics > hardware, in a http://www.gpgpu.org/ kind of way? Or are the Cell > processors o

Re: [Rd] RSQLite indexing

2007-10-22 Thread Marcus G. Daniels
Thomas Lumley wrote: >> How big is your dataset? SQLite can be slow, but I didn't think it >> was that slow. >> > > 35x100 entries on 12 variables > I had a similar problem a while back and took the opportunity to test various RDBMS. I found that a product called TimesTen from Oracl

Re: [Rd] data frame subset patch, take 2

2006-12-12 Thread Marcus G. Daniels
Vladimir Dergachev wrote: > Here is the second iteration of data frame subset patch. > It now passes make check on both 2.4.0 and 2.5.0 (svn as of a few days ago). > Same speedup as before. > Hi, I was wondering if this patch would make it into the next release. I don't see it in SVN, but it'

Re: [Rd] data frame subset patch, take 2

2006-12-12 Thread Marcus G. Daniels
Hi Martin, Conventions for optimizing away long, useless row name vector sound very useful. Nice timings too! I've noticed that before, and not been sure quite what to do. e.g. the hdf5 module just gives up past a certain threshold as the long vectors cause performance problems and HDF5 doesn

Re: [Rd] data frame subset patch, take 2

2006-12-13 Thread Marcus G. Daniels
Vladimir Dergachev wrote: > 2. It would be nice to have true hashed arrays in R (i.e. O(1) access > times). So far I have used named lists for this, but they are O(n): > new.env(hash=TRUE) with get/assign/exists works ok. But I suspect its just too easy to use named lists because it is e