Monthly Archives: May 2011

EC2 Micro instance of RStudio

May 5, 2011
By
EC2 Micro instance of RStudio

I wanted to see see if I could setup RStudio on a micro instance on Amazon EC2.  I thought it would be nice to have my own instance running in the cloud and why not use AWS free usage tier … Continue reading →

Read more »

BMS 0.3.0 Released

Version of 0.3.0 of the Bayesian Model Averaging package BMS has been released. Apart from numerous bugfixes, BMS 0.3.0 includes two main additions:The ability in bms to keep certain fixed regressors to be included in all sampled models The option t...

Read more »

Accessing MySQL through R

May 5, 2011
By

Connecting to MySQL is made very easy with the RMySQL package. To connect to a MySQL database simply install the package and load the library.install.packages("RMySQL")library(RMySQL)Connecting to MySQL:Once the RMySQL library is installed create a dat...

Read more »

Day #34 Detailing graphs

Today mostly existed in adding details or changing certain aspects of my graphs. For example, I had to turn around the y-axis on my levelplot, circleplot, … which wasn’t so easy at first. But after a bit of googling I found out I had to rev...

Read more »

Day #35 replacing characters

Today I had a meeting with Emmanuel. He is a guy from inside Janssen who is very good with R-scripts. He made a lot of great plots which I had to use for our reports. During the meeting we came to a conclusion that all the difficult R-scripting he did,...

Read more »

How to access databases from R

May 5, 2011
By

From his presentation at the Greater Boston useR Group, R user Jeffrey Breen has shared some useful slides detailing how to bring data from relational databases like MySQL and Oracle. In fact, data from just about any relational database is accessible from R by sending an SQL query to the standard ODBC or JDBC interfaces. R packages also offer...

Read more »

sab-R-metrics: Logistic Regression

May 5, 2011
By
sab-R-metrics: Logistic Regression

It's been a while since my last sab-R-metrics post, and I have not gotten to the real fun stuff yet. I apologize for the long layoff, and it's likely that these will be sparse for the next couple weeks. I have had some consulting opportunities come u...

Read more »

sab-R-metrics: Logistic Regression

May 5, 2011
By
sab-R-metrics: Logistic Regression

It's been a while since my last sab-R-metrics post, and I have not gotten to the real fun stuff yet. I apologize for the long layoff, and it's likely that these will be sparse for the next couple weeks. I have had some consulting opportunities come u...

Read more »

Mapping airline flight networks with R

May 5, 2011
By
Mapping airline flight networks with R

Inspired by the Facebook Social Network chart, FlowingData's Nathan Yau also turns to R to create a beautiful chart of the network of all flight connections between major airlines in the US: Like the Facebook chart, the chart reflects the intensity of the connections (here, the number of flights) between pairs of cities. Nathan explains: Brighter lines represent more...

Read more »

Who will be the next President of the US ?

May 5, 2011
By
Who will be the next President of the US ?

A lot of weird facts (?) can be found on the internet. For instance, about the height of the winner of Presidential elections in the US: the taller always win... "Still, being short does, on average, hurt a person's prospects...The tall guy gets th...

Read more »