Monthly Archives: October 2012

RcppArmadillo 0.3.4.3

October 4, 2012
By

Another bug-fix release of Armadillo, now at version 3.4.3 whike the 3.4.* stabilizes, and with it a version 0.3.4.3 of RcppArmadillo, our wrapper for R and Armadillo. The new version is already on CRAN as of earlier today. Once again no R level or i...

Read more »

RProtoBuf 0.2.6

October 4, 2012
By

Release 0.2.6 of RProtoBuf arrived on CRAN earlier this morning. RProtoBuf provides GNU R bindings for the Google Protobuf data encoding library used and released by Google. This release was once more driven largely by Murray whom we have now add...

Read more »

its the Gramma an punctuashun wot its’ about, Rgiht?

October 4, 2012
By
its the Gramma an punctuashun wot its’ about, Rgiht?

This is another of those confluence style posts, where a handful of things I’ve read in quick succession seem to phase lock in my mind: (brought to mind in part via @downes a week or so ago: How to Synch 32 Metronomes) The first was a post by Alan Levine on Making Text Work, which

Read more »

nnet2sas() supports centering and scaling

October 4, 2012
By
nnet2sas() supports centering and scaling

nnet2sas() version 1 introduced a way to export a nnet() model trained in R to Base SAS through metaprogramming, and now nnet2sas() version 2 introduces support for variable centering and scaling as implemented in caret::train(). See the link for version … Continue reading →

Read more »

Improving the integration between R and Hadoop: rmr 2.0 released

October 4, 2012
By

The RHadoop project, the open-source project supported by Revolution Analytics to integrate R and Hadoop, continues to evolve. Now available is version 2 of the rmr package, which makes it possible for R programmers to write map-reduce tasks in the R language, and have them run within the Hadoop cluster. This update is the "simplest and fastest rmr yet",...

Read more »

Making a hive plot of HIV transmission network — tutorial

October 4, 2012
By
Making a hive plot of HIV transmission network — tutorial

Hiveplots are the über-cool graph visualization created by the prolific Martin Krzywinski and ported to R by the equally talented Bryan Hanson. Martin has created a network visualization tool which displays the underlying structure of a network and ends the … Continue reading →

Read more »

rGtrends 0.01

October 4, 2012
By
rGtrends 0.01

I’m happy to announce that I’ve finally finished my rGtrends package, an interface for the unofficial python Google trends API. It’s a simple function that will allow you to search Google Trends from within R. I haven’t really come up with how this is really relevant to ecology, but it is pretty interesting from a social perspective. For instance you...

Read more »

Adding Measures of Central Tendency to Histograms in R

October 4, 2012
By
Adding Measures of Central Tendency to Histograms in R

Building on the basic histogram with a density plot, we can add measures of central tendency (in this case, mean and median) and a legend.Like last time, we'll use the beaver data from the datasets package.hist(beaver1$temp, # histogram col =...

Read more »

I’ve peeped a number of object-oriented R tutorials. This…

October 4, 2012
By

I’ve peeped a number of object-oriented R tutorials. This is the first one I could make it through. Easy and pleasant to read.

Read more »

Sequence generation with no duplicate pairs

October 4, 2012
By
Sequence generation with no duplicate pairs

Given a fixed set of items (say, 6 A, 12 B and 12 C) what algorithm will generate a randomised sequence containing all of these items with any adjacent pairs being different, e.g., no AA, BB or CC in the sequence? The answer would seem to be provided in my last post. However, turning this

Read more »