September 2010

How to send an HTTP PUT request from R

September 27, 2010 | Christopher Bare

I wanted to get R talking to CouchDB. CouchDB is a NoSQL database that stores JSON documents and exposes a ReSTful API over HTTP. So, I needed to issue the basic HTTP requests: GET, POST, PUT, and DELETE from within R. Specifically, to get started, I... [Read more...]

Riemann, Langevin & Hamilton [reply]

September 27, 2010 | xi'an

Here is a (prompt!) reply from Mark Girolami corresponding to the earlier post: In preparation for the Read Paper session next month at the RSS, our research group at CREST has collectively read the Girolami and Calderhead paper on Riemann manifold Langevin and Hamiltonian Monte Carlo methods and I hope ... [Read more...]

Maps with ggplot2

September 27, 2010 | James

The ggplot2 package offers powerful tools to plot data in R. The plots are designed to comply with the “grammar of graphics” philosophy and can be produced to a publishable level relatively easily. For users wishing to create a good map without too much thought I would recommend this worksheet. ...
[Read more...]

RcppArmadillo 0.2.7

September 26, 2010 | Thinking inside the box

Version 0.2.7 of RcppArmadillo is now on CRAN. This updates the included Armadillo template library to version 0.9.80 which Conrad released a few days ago. RcppArmadillo makes it easy to write highly efficient and highly readable C++ code for linear... [Read more...]

Animation

September 25, 2010 | Steven Mosher

A couple hours work and we now have animations of the global anomalies: Created with the animation package in R.  The code examples were a bit terse about some of the details but after fiddling about I was able to get  the program to output an Html animation complete with ...
[Read more...]

GotoBLAS2

September 25, 2010 | Shige

Here are some tips to speedup matrix computation in R. The author did not provide any benchmark though. [Read more...]

Visualising questionnaires

September 25, 2010 | richierocks

Last week I was shown the results of a workplace happiness questionnaire. The plots were ripe for a makeover. Most obviously, the pointless 3D effect needs removing, and the colour scheme is badly chosen.
[Read more...]

Damn Close 5.0

September 24, 2010 | Steven Mosher

Code will be in the drop box in a bit, once I shower:  [DONE] This is a wholesale replacement of previous versions, completely rewritten in raster. It will be the base going forward. All of the analysis routines will be rewritten using raster.  For time series functionality I will continue ...
[Read more...]

Find Duplicate Records in a File

September 24, 2010 | C

In the world of data preparation a common task is to identify duplicate records in a file or data set.  A few years ago, I did most development work in Java, and shudder to think of the amount of code required to accomplish this sort of task. &nbs... [Read more...]

Making sense of MapReduce

September 24, 2010 | Joseph Rickert

From guest blogger Joseph Rickert. Last night I went to hear Ken Krugler of Bixolabs talk about Hadoop at the monthly meeting of the Software Developers Forum. Maybe because Ken is an unusually lucid speaker, or maybe because I just reached some sort of cumulative tipping point through the prep ... [Read more...]

R / Finance 2011 Call for Papers

September 24, 2010 | Thinking inside the box

Brian announced it on r-help and r-sig-finance and I have since updated the R/Finance website and Call for Papers page. And as David Smith already outblogged me about it, without further ado our Call for Paper for next spring's R/Finance conference: ... [Read more...]

Higher Order Functions in R

September 23, 2010 | John Myles White

Introduction Because R is, in part, a functional programming language, the ‘base’ package contains several higher order functions. By higher order functions, I mean functions that take another function as an argument and then do something with that function. If you want to know more about the usefulness of writing ... [Read more...]

Effective sample size

September 23, 2010 | xi'an

In the previous days I have received several emails asking for clarification of the effective sample size derivation in “Introducing Monte Carlo Methods with R” (Section 4.4, pp. 98-100). Formula (4.3) gives the Monte Carlo estimate of the variance of a self-normalised importance sampling estimator (note the change from the original version ... [Read more...]

Seeing the Big Picture

September 23, 2010 | John Myles White

Here’s a nice snippet from a 2009 article by Kass that I read yesterday: According to my understanding, laid out above, statistical pragmatism has two main features: it is eclectic and it emphasizes the assumptions that connect statistical models with observed data. The pragmatic view acknowledges that both sides of ... [Read more...]
1 2 3 4 10

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)