Posts Tagged ‘ computing ’

R has a JSON package

November 5, 2009
By
R has a JSON package

Named rjson, appropriately. It’s quite basic just now, but contains methods for interconversion between R objects and JSON. Something like this: > library(rjson) > data <- list(a=1,b=2,c=3) > json <- toJSON(data) > json "{\"a\":1,\"b\":2,\"c\":3}" > cat(json, file="data.json") Use cases? I wonder if RApache could be used to build an API that serves R data in JSON format? Posted in

Read more »

R help on StackOverflow

August 23, 2009
By

Ever since I began using R about ten years ago, the best place to find R help was on the R-help mailing list. But it is time-consuming searching through the archives trying to find something from a long time ago, and there is no way to sort out the goo...

Read more »

R help on StackOverflow

August 23, 2009
By
R help on StackOverflow

Ever since I began using R about ten years ago, the best place to find R help was on the R-help mailing list. But it is time-consuming searching through the archives trying to find something from a long time ago, and there is no way to sort out the good advice from the bad advice.

Read more »

RSRuby in the IRB console

August 6, 2009
By
RSRuby in the IRB console

R is terrific, of course, for all your statistical needs. But those data structures! “Everything is a list.” Leading to such wondrous ways to access variables as “p <- Meta(gds)$platform", or "last <- mylist]])]". Sometimes, you want something more familiar. An array, a hash, a hash of arrays. Or, you may

Read more »

Baby steps with RSRuby in Rails

May 20, 2009
By
Baby steps with RSRuby in Rails

Plotting and charting libraries for Ruby (on Rails) abound. However, few are sophisticated enough for scientists and many are not actively maintained. Plotting in R, on the other hand, is about as sophisticated as it comes. Can we bridge Ruby and R? Yes we can, thanks to Alex Gutteridge’s RSRuby. The next

Read more »

High-performance computing in R at useR! 2008

August 12, 2008
By
High-performance computing in R at useR! 2008

The useR! 2008 meeting is about to commence. Although I am not able to go this year I will be keeping a close eye on the talks and slides that (I assume) will be posted.  Last years useR! meeting (which … Continue reading →

Read more »

S3 vs S4, efficiency issues

May 23, 2008
By
S3 vs S4, efficiency issues

While developing some new simulation code with S4 system I stumbled upon some big difficulties in terms of computational efficiency. That lead me to diging into archives of Rhelp and Rdevel looking for clues. I found some interesting threads that address almost exactly the same problems that I do. Read for yourself here and here,

Read more »

An R Wiki

April 21, 2008
By
An R Wiki

It’s been ages since I visited the R website, so I don’t know how long they’ve had a wiki. It’s built using DokuWiki, one of my personal favourites. This is a great leap forward for R documentation, which is somewhat notorious for being (a) difficult to find and (b) difficult to understand when you find

Read more »

Cow chewing on GillespieSSA

August 22, 2007
By
Cow chewing on GillespieSSA

Sorry blog for the long silence. Lately I have been juggling several time critical projects and there hardly seems to be time for such mundane activities such as sleeping, eating, never mind shaving (someone pointed out that I am starting … Continue reading →

Read more »