Perhaps the right approach is to migrate/adapt/port the R library to Racket?
That way you get what you need, plus experience in building a DSL, plus the power and speed of Racket. On Nov 5, 2012, at 11:32 PM, Asumu Takikawa wrote: > On 2012-11-06 15:22:49 +1100, Simon Haines wrote: >> As part of my work, I frequently have to 'shape' multi-dimensional >> datasets. This is reasonably easy to do in Racket and I'm thinking >> about pulling together some of the functions I use into a library. >> Before I do this though, I was wondering if there is any similar work I >> can build upon, or perhaps use to guide me. >> >> [...] >> >> I haven't worked out the details yet, and I'm not sure the above will >> work the way I want it to. But I've had a quick look at Microsoft's >> Scientific DataSet ([1]http://sds.codeplex.com/), but it lacks the >> composability I'm used to with Racket. Is anyone aware of any similar >> work that does this, or that I could use as a guide? > > I don't know about Racket, but have you seen the 'reshape' library in R? > It's very flexible and is probably one of the state of the art designs > in this space. > > Here's a journal article describing its design: > http://www.jstatsoft.org/v21/i12/paper > > and its website: > http://had.co.nz/reshape/ > > Cheers, > Asumu > ____________________ > Racket Users list: > http://lists.racket-lang.org/users
smime.p7s
Description: S/MIME cryptographic signature
____________________ Racket Users list: http://lists.racket-lang.org/users