Articles by C

R and Oracle HR Part I – Set Up and Connect

July 8, 2010 | C

There has been recent interest in the attention that Oracle has been giving to R.  This has been related to the use of Oracle Data Mining which is a paid option to Oracle.  This is the first in a series of posts that can be run using the Orac...
[Read more...]

Hacker News Religion Poll

July 5, 2010 | C

Hacker News user post polls from time to time - the following code constructs a bar chart based upon the responses to a recent poll on the stated religious affiliation of Hacker news users (parsed straight from the site).  The chart above is as of...
[Read more...]

Make R speak SQL with sqldf

July 5, 2010 | C

The R community is unique as programming communities go.  Many users of R come from academia and have a relatively extensive mathematical background.  The R community has developed in relative isolation from some other areas of programming th...
[Read more...]

CRAN Search

June 30, 2010 | C

Here's a ditty to search the cran R packages by descriptioncranSearch = function(q=''){  library(XML)  u
[Read more...]

Analyze Gold Demand and Investments using R

June 29, 2010 | C

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...]

Analyze Twitter Data Using R

June 28, 2010 | C

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...]

Stock Analysis using R

June 26, 2010 | C

Want to do some quick, in depth technical analysis of Apple stock price using R? Theres a package for that!The Quantmod package allows you to develop, testing, and deploy of statistically based trading models.  It provides the infrastructure for d...
[Read more...]

World Bank API R package available!

June 23, 2010 | C

In previous posts I demonstrated R plots created using World Bank Data through their API.  The following is a much nicer example of what is possible.  Many thanks to Vincent Arel-Bundock for sharing his work to make the World Bank D...
[Read more...]

R Layout command.

June 21, 2010 | C

In the previous post I created a chart but could not figure out to fit the legend in the chart area. Peter Carl pointed me to the layout command which partitions the display area and allowed the the legend to be included. Source code to produce the c...
[Read more...]

Occupational Wage Comparison Plotted in R

June 17, 2010 | C

Ever have conversations with your kids about what they are going to do with their life? Still trying to figure out what you are going to do with yours?Best to not starve...The chart above represents the percentage of each occupation that earn a given h...
[Read more...]

Installing Ruby on Linux as a User other than root

June 17, 2010 | C

Ruby is best known as the language behind the rails web application framework. However, it is a very flexible general purpose language that can be used for tasks of direct interest to R Developers (parsing files, interacting with databases, processing...
[Read more...]

Calling Ruby, Perl or Python from R

June 16, 2010 | C

If you want to interact with other programming languages from R, there are various packages and bindings available. These packages provide a pretty high degree of integration between the langages and allow you to pass objects back and forth seemlessl...
[Read more...]

Date and Time in R

June 15, 2010 | C

The following are a few date and time functions that I needed to figure out early on when working with R.We will start when we are... the current system date.Sys.Date()Notice that this function returns a Date object.class(Date)A string in this format i...
[Read more...]

Plotting BP Oil Spill Testing Data using R

June 10, 2010 | C

The Deepwater Horizon Incident is in the U.S. headlines and on many peoples minds. The folks over at Revolution Analytics were even discussing this subject today. Several government sites including the NOAA have sections dedicated to the problem. In...
[Read more...]

Data Mining with WEKA example implemented in R

June 9, 2010 | C

IBM Developer Works has several new articles on Data Mining with WEKA by Michael Abernethy. I decided to implement the example provided in the first article in the series using R. I realize that I could have used WEKA through R (using the RWeka packa...
[Read more...]

3 lines of R code to Process a Web Service

June 9, 2010 | C

Ruby is well known for its terse syntax and ability to process web services. I prefer JSON (Javascript Object Notation) to XML whenever possible. For example, a script to retrieve a list of World Bank Data takes all of three lines of code (after in...
[Read more...]

Plotting World Bank Data with R

June 8, 2010 | C

Copy and paste the code listed in this post below, and you can create a plot of World Bank data using R with a call like the following:plotWorldBank('USA','NY.GDP.MKTP.KD.ZG')There is a wealth of economic and demographic available at the World Bank. ...
[Read more...]
1 3 4 5 6

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)