Google AI Challenge: Languages Used by the Best Programmers

December 2, 2010
By
Google AI Challenge: Languages Used by the Best Programmers

The Google AI Challenge recently wrapped up with a Lisp developer from Hungary as the winner.  The competition challenges contestants to create bots that push the limits of AI and game theory.  These bots compete against one another, and a complete ranking of competitors is available.  The big story today is...

Read more »

Méthodes de Monte-Carlo avec R

December 2, 2010
By
Méthodes de Monte-Carlo avec R

The translation of the book Introducing Monte Carlo Methods with R is close to being completed. The copy-editing and page-setting are done, I have received the cover proposal and am happy with it, so it should now go to production and be ready by early January, (earlier than the tentative end of February indicated on

Read more »

pgfSweave 1.1.0 now on CRAN!

December 2, 2010
By

The next release of pgfSweave is now on CRAN! It has been a while since I posted about pgfSweave and there have been some significant changes in the past couple of months. The main new features are: Automatic code highlighting via the highlight package. This can be turned off with the highlight option. “Tidying” of

Read more »

Another boring blog

December 2, 2010
By
Another boring blog

I recently decided to create two blogs as outlets for my research.  The first (The Richness of Life) focuses more on the organisms I work with as an ecologist and my general interest as a student of natural history.  This blog on Quantitative...

Read more »

R 101 at TDWI

December 2, 2010
By

Last month TDWI's James Powell interviewed Revolution CEO Norman Nie and published the interview as "R 101". The article answers some of the basic questions about R, such as: What is R? Why is R well-suited for predictive analytics? Why is R superior? How easy is it to learn R? Where is R headed? ... and much more. Read...

Read more »

R 101 at TDWI

December 2, 2010
By

Last month TDWI's James Powell interviewed Revolution CEO Norman Nie and published the interview as "R 101". The article answers some of the basic questions about R, such as: What is R? Why is R well-suited for predictive analytics? Why is R superior? How easy is it to learn R? Where is R headed? ... and much more. Read...

Read more »

R with Vim

December 2, 2010
By
R with Vim

For all those who think that Vim is The Editor for text files, and simultaneously think that R is The EnvironmentForStatisticalAnalysisAndGraphics. After trying out various options for intergrating Vim with R I settled on the following configuration: Use Vim-R-pluginfor editing R code files, R documentation files (*.Rd) as well as the Sweave files. Apart from

Read more »

Random variable generation (Pt 2 of 3)

December 2, 2010
By
Random variable generation (Pt 2 of 3)

Acceptance-rejection methods This post is based on chapter 1.4 of Advanced Markov Chain Monte Carlo. Another method of generating random variates from distributions is to use acceptance-rejection methods. Basically to generate a random number from , we generate a RN from an envelope distribution , where .  The acceptance-rejection algorithm is as follows: Repeat until

Read more »

Statistique de l’assurance STT6705V, partie 12

December 2, 2010
By
Statistique de l’assurance STT6705V, partie 12

The final course (since courses end this week in Montréal) can be watched here and there. The drawings from the course can be downloaded here (including last week's). First, to come back on last week's course , we considered Lee-carter model, i.e....

Read more »

Rd2roxygen: Convert Rd to roxygen documentation

December 1, 2010
By

must admit that I have been tired of maintaining my R packages for a long time, and the main reason is I feel really uncomfortable with writing R documentations (Rd). The required structure of an R package mainly includes two directories R and man — the former for the R source code (typically functions), and

Read more »

Recent developments in the drug war

December 1, 2010
By
Recent developments in the drug war

The Mexican government recently released data on all crime statistics from January 1997 to October 2010, as reported by the various police forces operating in Mexico. This information provides an unprecedented look at what has happened since the drug war began and allows for a frank assessment of the deterioration of security in Mexico.

Read more »

Recent developments in the drug war

December 1, 2010
By
Recent developments in the drug war

The Mexican government recently released data on all crime statistics from January 1997 to October 2010, as reported by the various police forces operating in Mexico. This information provides an unprecedented look at what has happened since the drug war began and allows for a frank assessment of the deterioration of security in Mexico.

Read more »

Online Resources for Learning R

December 1, 2010
By
Online Resources for Learning R

Online classes are an easy and convenient way to learn more about a topic of interest. Not surprisingly, there are a variety of online resources, free and otherwise, to learn more about R. From online graduate classes, to the more “learn at your own pace” approach, here are some resources I have found useful: Programming

Read more »

Le Monde puzzle [48]

December 1, 2010
By
Le Monde puzzle [48]

This week(end), the Le Monde puzzle can be (re)written as follows (even though it is presented as a graph problem): Given a square 327×327 symmetric matrix A, where each non-diagonal entry is in {1,2,3,4,5} and , does there exist a triplet (i,j,k) such that Solving this problem in R is very easy. We can create

Read more »

How to create PDF reports with R

December 1, 2010
By
How to create PDF reports with R

Sweave is a literate programming system included with R. It makes it possible to create a PDF document containing not just text, but also tables and charts generated from R. The process is automated, so once you've created an Sweave document (which includes both LaTeX text markup and R commands), you can create the formatted text and insert the...

Read more »

How to create PDF reports with R

December 1, 2010
By
How to create PDF reports with R

Sweave is a literate programming system included with R. It makes it possible to create a PDF document containing not just text, but also tables and charts generated from R. The process is automated, so once you've created an Sweave document (which includes both LaTeX text markup and R commands), you can create the formatted text and insert the...

Read more »

RcppGSL 0.1.0

December 1, 2010
By

Earlier in the year, Romain and I did a bunch of initial work on a wrapper from R to the GNU GSL by way of our Rcpp package for seamless R and C++ integration. But other work kept us busy and this fell a little to the side. We have now found some t...

Read more »

R Workflow: Slides from a Talk at Melbourne R Users (1st Dec 2010)

December 1, 2010
By

I gave a presentation at Melbourne R Userson the topic of R Workflow. The presentation covered R code organisation, and useful R related tools including Eclipse, StatET, Git, make, Sweave and LaTeX. Also, the slides from the presentation provide link...

Read more »

R Workflow: Slides from a Talk at Melbourne R Users (1st Dec 2010)

December 1, 2010
By

I gave a presentation at Melbourne R Userson the topic of R Workflow. The presentation covered R code organisation, and useful R related tools including Eclipse, StatET, Git, make, Sweave and LaTeX. Also, the slides from the presentation provide link...

Read more »

RcppGSL 0.1.0

December 1, 2010
By
RcppGSL 0.1.0

We released the first version of our RcppGSL package. RcppGSL extends Rcpp to help programmers code with the GNU Scientific Library (GSL). The package contains template classes in the RcppGSL namespace that act as smart pointers to the associat...

Read more »

bubble chart by using ggplot2

December 1, 2010
By
bubble chart by using ggplot2

The visualization represented by Hans Rosling’s TED talk was very impressive. FlowingData provides a tutorial on making bubble chart in R. I try to create bubble chart by using ggplot2. With the dataset provided by FlowingData,The bubble chart was made by the following code. Read More: 548 Words Totally

Read more »

bubble chart by using ggplot2

December 1, 2010
By
bubble chart by using ggplot2

The visualization represented by Hans Rosling’s TED talk was very impressive. FlowingData provides a tutorial on making bubble chart in R. I prefer ggplot2 for graphics.

Read more »

Top 10 things that suck about Sweave

December 1, 2010
By
Top 10 things that suck about Sweave

People rave about Sweave and the literate programing paradigm and I am guilty as charged. I speak Sweave, I think Sweave, I dream Sweave. As a matter of fact my default mode of operation is Sweave and anything else is an … Continue reading →

Read more »

The avalanche of publications mentioning GO

November 30, 2010
By
The avalanche of publications mentioning GO

Gene Ontology is the de facto standard for annotation of gene products. It has been widely used in biological data mining, and I believe it will play more central role in the future. Publications mentioning GO was collected and deposited in GO ftp, and can be accessed (ftp://ftp.geneontology.org/go/doc/). Read More: 454 Words Totally

Read more »

The avalanche of publications mentioning GO

November 30, 2010
By
The avalanche of publications mentioning GO

Gene Ontology is the de facto standard for annotation of gene products. It has been widely used in biological data mining, and I believe it will play more central role in the future. Publications mentioning GO was collected and deposited in GO ftp, and can be accessed (ftp://ftp.geneontology.org/go/doc/). Read More: 454 Words Totally

Read more »

RQuantLib 0.3.5

November 30, 2010
By

The new RQuantLib release 0.3.5 is now on CRAN and in Debian. RQuantLib combines (some of) the quantitative analytics of QuantLib with the R statistical computing environment and language. Most of the changes were made two and four weeks ago: fir...

Read more »

Updates to the ‘aqp’ Package for R (version 0.98-3)

November 30, 2010
By

Just released an updated version of our 'aqp' package for quantitative soils investigations, available on CRAN and R-Forge. Some of the major changes are listed below: from the aqp NEWS file: -------------------------- aqp 0.98-1 (2010-11-23) --------...

Read more »

What’s Next for Revolution R and Hadoop?

November 30, 2010
By

It's been a busy fall season for the team at Revolution Analytics. Over the past few months, we've announced major product enhancements for Revolution R -- RevoScaleR, for tackling big data sets, and RevoDeployR, for embedding Revolution R into wider applications. We've continued to add to our growing customer base at an aggressive rate and we've been busy crisscrossing...

Read more »

Controlling Amazon Web Services using rJava and the AWS Java SDK

November 30, 2010
By
Controlling Amazon Web Services using rJava and the AWS Java SDK

I’ve been messing around with using Amazon Web Services for a while. I’ve had some projects where I wanted to upload files to S3 or fire off EMR jobs. I’ve been controlling AWS services using a hodgepodge of command line tools and the R system() function to call the tools from the command line.

Read more »