Monthly Archives: June 2010

Rcpp 0.8.3

June 29, 2010
By

A new version 0.8.3 of Rcpp is now CRAN and in Debian. It comes about three weeks after the 0.8.2 release. And even though we promised to concentrate on documentation, it contains a raft of new features: The addition of what we dub Rcpp sugar: some ...

Read more »

Rcpp 0.8.3

June 29, 2010
By

A new version 0.8.3 of Rcpp is now CRAN and in Debian. It comes about three weeks after the 0.8.2 release. And even though we promised to concentrate on documentation, it contains a raft of new features: The addition of what we dub Rcpp su...

Read more »

Analyze Gold Demand and Investments using R

June 29, 2010
By
Analyze Gold Demand and Investments using R

After the recent foray into stock analysis using quantmod, I thought it worthwhile to mention that the library can be used to analyze a wide variety of investments, including precious metals.  It is also worthwhile to mention that there are other ...

Read more »

Entropy augmentation the modulo way

June 29, 2010
By
Entropy augmentation the modulo way

Long before I had heard about the connection between entropy and probability theory, I knew about it from the physical sciences. This is most likely how you met it, too. You heard that entropy in the universe is always increasing, and, if you’re like me, that made very little sense. Then you may have heard

Read more »

Tips for managing memory in R

June 29, 2010
By
Tips for managing memory in R

R is an in-memory application, so every new object you create takes up RAM. (Yes, there are ways around that, but that's a topic for another article.) If you're working on a small machine (say, a 32-bit Windows system with 1Gb of RAM or less) you might need to be careful with the object you create. This StackOverflow question...

Read more »

Sweave.sh in Eclipse-StatET

June 29, 2010
By

Sébastien Bihorel sent the following instructions on how to use my sweave.sh shell script in Eclipse-StatET.1- First, you need to know the path to your TEXINPUTS settings. Type R CMD env |grep TEXINPUTS in a shell. In my installation (opensuse 11.2), the shell returned the followingTEXINPUTS=.::/usr/lib/R/share/texmf:2- Edit your .bashrc file (located in your home directory) and add...

Read more »

Sweave.sh in Eclipse-StatET

June 29, 2010
By

Sébastien Bihorel sent the following instructions on how to use my sweave.sh shell script in Eclipse-StatET. 1- First, you need to know the path to your TEXINPUTS settings. Type R CMD env |grep TEXINPUTS in a shell. In my installation (opensuse 11.2), the shell returned the followingTEXINPUTS=.::/usr/lib/R/share/texmf:2- Edit your .bashrc file (located in your home directory) and add...

Read more »

Analyze Twitter Data Using R

June 28, 2010
By
Analyze Twitter Data Using R

Twitter data available through its API provides a wealth of real time information.  This article demonstrates a graph of user relationships and an analysis of tweets returned in a search using R.  Keep in mind, Twitter has announced that basi...

Read more »

Second year of entries!

June 28, 2010
By
Second year of entries!

Hello, readers new and old!We started adding examples a year ago, in advance of the book's publication. To mark the occasion, we're closing chapter 7 and starting chapter 8 next week. We've crafted a listing of all entries from the first year and mad...

Read more »

Bootstrapping the latest R into Amazon Elastic Map Reduce

June 28, 2010
By
Bootstrapping the latest R into Amazon Elastic Map Reduce

I’ve been continuing to muck around with using R inside of Amazon Elastic Map reduce jobs. I’ve been working on abstracting the lapply() logic so that R will farm the pieces out to Amazon EMR. This is coming along really well, thanks in no small part to the Stack Overflow community. I have no

Read more »