RcppExamples 0.1.2

December 22, 2010
By

A new version of our RcppExamples, package is now on CRAN. RcppExamples contains a few illustrations of how to use Rcpp. It grew out of documentation for the classic API (now in its own package RcppClassic) and we added more functions documenting...

Read more »

A Special Graphics Device in R: the Null Device

December 22, 2010
By

It is well-known that R has several graphics devices -- either the screen devices (X11(), windows(), ...) or the off-screen devices (pdf(), png(), ...). We can query the default graphics device in options(): getOption('device') In a non-in...

Read more »

CrossValidated Journal Club

December 21, 2010
By

Journal Clubs are a great way to learn new research ideas and to keep up with the literature. The idea is that a group of people get together every week or so to discuss a paper of joint interest. This can happen within your own research group or department, or virtually online. There is now

Read more »

Questions on the parallel Rao-Blackwellisation

December 21, 2010
By
Questions on the parallel Rao-Blackwellisation

Pierre Jacob and I got this email from a student about our parallel Rao-Blackwellisation paper. Here are some parts of the questions and our answer: Although I understand how the strategy proposed in the paper helps in variance reduction, I do not understand why you set b=1 (mentioned in Section 3.2) and why it plays

Read more »

How Orbitz uses Hadoop and R to optimize hotel search

December 21, 2010
By
How Orbitz uses Hadoop and R to optimize hotel search

Positional bias — the tendency for users to preferentially select results in the first few positions of a search — is a big issue for all kinds of search engines. But for online travel site Orbitz the stakes are higher than for a traditional Web search engine: if a customer chooses the first-listed hotel in a search for accommodations,...

Read more »

My favorite R packages (installed with one command)

December 21, 2010
By
My favorite R packages  (installed with one command)

I just started a new job (working on social search awesomeness at Bing) and so I had to set up my “dev” environment with all of my usual tools (R, python,vim,etc). One thing that made this a bit easier is my habit of keeping an R script around that installs all of my common packages

Read more »

NppToR 2.5.2 Improves startup

December 21, 2010
By

I’ve been getting lots of feedback that there are problems starting NppToR with some of the latest version. I took to the task of looking at that yesterday on the train home. I have made improvements to the way NppToR finds the RHome directory, not relying entirely on the windows registry. I also removed the

Read more »

R programming books

December 21, 2010
By
R programming books

My sabbatical is rapidly coming to an end, and I have to start thinking more and more about teaching. Glancing over my module description for the introductory computational statistics course I teach, I noticed that it’s a bit light on recommend/background reading. In fact it has only two books: A first course in statistical programming

Read more »

A Very Data Christmas

December 21, 2010
By
A Very Data Christmas

This week Google announced its Ngram Viewer, which allows you to explore the use of words in thousands of texts overtime, going back two hundred years. Given the relatively long time period covered by this massive data set, it is fun to explore how language has changed overtime. Some texts, however, seem to transcend time.

Read more »

oro.nifti 0.2.4

December 21, 2010
By
oro.nifti 0.2.4

The R package oro.nifti contains functions for the input/output and visualization of medical imaging data that follow either the ANALYZE, NIfTI or AFNI formats.  This package is part of the Rigorous Analytics bundle.Orthographic display of stru...

Read more »

oro.nifti 0.2.4

December 21, 2010
By
oro.nifti 0.2.4

The R package oro.nifti contains functions for the input/output and visualization of medical imaging data that follow either the ANALYZE, NIfTI or AFNI formats.  This package is part of the Rigorous Analytics bundle.Orthographic display of stru...

Read more »

Back from Philly

December 20, 2010
By
Back from Philly

The conference in honour of Larry Brown was quite exciting, with lots of old friends gathered in Philadelphia and lots of great talks either recollecting major works of Larry and coauthors or presenting fairly interesting new works. Unsurprisingly, a large chunk of the talks was about admissibility and minimaxity, with John Hartigan starting the day

Read more »

Michael Kane on Bigmemory

December 20, 2010
By
Michael Kane on Bigmemory

Handling big data sets has always been a concern for R users. Once the size of the data set reaches above 50% of RAM, it is considered “massive” and can literally become impossible to work with on a standard machine. The bigmemory project, by Michael Kane and Jay Emerson, is one approach to dealing with

Read more »

Rcpp 0.9.0 and RcppClassic 0.9.0

December 20, 2010
By

A new release 0.9.0 of Rcpp is now available at CRAN and has just been uploaded to Debian. As always, sources are also available from my local directory here. With this release, the older API which we have been referring to as the classic Rcpp A...

Read more »

MATLAB / R Reference

December 20, 2010
By

nStrict Standards: Non-static method StringParser_Node::destroyNode() should not be called statically, assuming $this from incompatible context in /afs/ir.stanford.edu/users/k/n/knoepfle/cgi-bin/flatpress/fp-plugins/bbcode/inc/stringparser.class.php o...

Read more »

MATLAB / R Reference

December 20, 2010
By

Anyone with a MATLAB background interested in transitioning to R is advised to check out this MATLAB / R Reference by Professor David Hiebeler of the University of Maine.

Read more »

Google Insights and RCurl

December 20, 2010
By

nStrict Standards: Non-static method StringParser_Node::destroyNode() should not be called statically, assuming $this from incompatible context in /afs/ir.stanford.edu/users/k/n/knoepfle/cgi-bin/flatpress/fp-plugins/bbcode/inc/stringparser.class.php on line 358Google Insights is nifty. If you’re logged in to your Google account, you can download the results as a CSV file. This is straightforward if you’re using a browser; if you’re trying to retrieve the results...

Read more »

Google Insights and RCurl

December 20, 2010
By

Google Insights is nifty. If you’re logged in to your Google account, you can download the results as a CSV file. This is straightforward if you’re using a browser; if you’re trying to retrieve the results of queries using R, however, things get more complicated. The following code retrieves the results of a Google Insights search for...

Read more »

How to buy a used car with R (part 2)

December 20, 2010
By
How to buy a used car with R (part 2)

nStrict Standards: Non-static method StringParser_Node::destroyNode() should not be called statically, assuming $this from incompatible context in /afs/ir.stanford.edu/users/k/n/knoepfle/cgi-bin/flatpress/fp-plugins/bbcode/inc/stringparser.class.php on line 358Continued from Part 1.nnPart 2: Digging into the Kelley Blue BooknnThe only thing better than a bit of data is a lot of data. Now that we can grab KBB values for a given trim of...

Read more »

How to buy a used car with R (part 2)

December 20, 2010
By
How to buy a used car with R (part 2)

Continued from Part 1. Part 2: Digging into the Kelley Blue Book The only thing better than a bit of data is a lot of data. Now that we can grab KBB values for a given trim of a given model in a given year, we set our ambitions higher: automating the collection of these values for...

Read more »

Vim plugin for R

December 19, 2010
By
Vim plugin for R

Just found a very nice plugin for using R in Vim. It's unbelievable comfortable!

Read more »

Principal component analysis to yield curve change

December 19, 2010
By
Principal component analysis to yield curve change

In quantitive finance,it is often said that yield curve change is explained by three factor,"parallel shift", "twist" and "butterfly".Because I found that we can get historical yield curve data from FRB's web site, I check whether these proverbial facts are correct or not.Yield curve data can be downloaded to click "Go to download" and "Download File" button. Default data...

Read more »

Principal component analysis to yield curve change

December 19, 2010
By
Principal component analysis to yield curve change

In quantitive finance,it is often said that yield curve change is explained by three factor,"parallel shift", "twist" and "butterfly".Because I found that we can get historical yield curve data from FRB's web site, I check whether these proverbial facts are correct or not.Yield curve data can be downloaded to click "Go to download" and "Download File" button. Default data...

Read more »

White Bumblebee Implemented in R

December 18, 2010
By
White Bumblebee Implemented in R

White Bumblebee is a trade system based on a simple moving average crossover, but with a special twist. Imagine your thermostat triggering your furnace to shut off or turn on every time a temperature crossed a threshold. If the thermostat didn't have a...

Read more »

AMIS revised & resubmitted

December 18, 2010
By
AMIS revised & resubmitted

After a thorough revision that removed most of the theoretical attempts at improving our understanding of AMIS convergence, we have now resubmitted the AMIS paper to Scandinavian Journal of Statistics and arXived the new version as well. (I remind the reader that AMIS stands for adaptive mixture importance sampling and that it implements an adaptive

Read more »

R Workflow: Melbourne R Users Dec 1st 2010

December 18, 2010
By
R Workflow: Melbourne R Users Dec 1st 2010

Melbourne R Users Group December 1st 2010 Meeting (Meetup page). 1. “What my R code looks and feels like (Vanilla)” by Geoff Robinson The other talk from the session was by Geoff Robinson who discussed several useful strategies for working … Continue reading →

Read more »

Visualizing Facebook Friends: Eye Candy in R

December 18, 2010
By
Visualizing Facebook Friends: Eye Candy in R

Earlier this week I published a data visualization on the Facebook Engineering blog which, to my surprise, has received a lot of media covereage. I’ve received a lot comments about the image, many asking for more details on how I … Continue reading →

Read more »

ASReml-R: Storing A inverse as a sparse matrix

December 18, 2010
By

I was testing ASReml-R program (an R package that links propriety ASReml binaries that can be used only with valid licence) this week and had to do some manipulations with the numerator relationship matrix (A). ASReml-R provides a function (asreml.Ainverse) that can create inverse of A directly from the pedigree as this inverse is needed in pedigree based...

Read more »

ASReml-R: Storing A inverse as a sparse matrix

December 18, 2010
By

I was testing ASReml-R program (an R package that links propriety ASReml binaries that can be used only with valid licence) this week and had to do some manipulations with the numerator relationship matrix (A). ASReml-R provides a function (asreml.Ainverse) that can create inverse of A directly from the pedigree as this inverse is needed in pedigree based...

Read more »