Monthly Archives: June 2009

Example 7.1: Create a Fibonacci sequence

June 12, 2009
By
Example 7.1: Create a Fibonacci sequence

The Fibonacci numbers have many mathematical relationships and have been discovered repeatedly in nature. They are constructed as the sum of the previous two values, initialized with the values 1 and 1.A pdf of this example is available here.SASIn SAS, we use the lag function (section 1.4.17,...

Read more »

R tips: Installing Rmpi on Fedora Linux

June 12, 2009
By
R tips: Installing Rmpi on Fedora Linux

Somebody on the R-help mailing list asked how to get Rmpi working on his Fedora Linux machine so he could do high-performance computing on a cluster of machines (or a single multicore machine) using the R statistical computing and analysis platform. Since it is unusually painful to get working, I might as well copy the instructions...

Read more »

R tips: Installing Rmpi on Fedora Linux

June 12, 2009
By
R tips: Installing Rmpi on Fedora Linux

Somebody on the R-help mailing list asked how to get Rmpi working on his Fedora Linux machine so he could do high-performance computing on a cluster of machines (or a single multicore machine) using the R statistical computing and analysis platform. Since it is unusually painful to get working, I might as well copy the instructions...

Read more »

Simulation of Burning Fire in R

June 11, 2009
By
Simulation of Burning Fire in R

inlin Yan posted a cool (hot?) simulation of burning fire with R in the COS forum yesterday, which was indeed a warm welcome. I’m not sure whether our forum members will be scared by the “fire” under the title “Welcome to COS Forum”. The fire was mainly created by the function image() with

Read more »

Creating Tag Cloud Using R and Flash / JavaScript (SWFObject)

June 10, 2009
By
Creating Tag Cloud Using R and Flash / JavaScript (SWFObject)

ag cloud is a bunch of words drawn in a graph with their sizes proportional to their frequency; it’s widely used in blogs to visualize tags. We can observe important words quickly from a tag cloud, as they often appear in large fontsize. Tony N. Brown asked how to “graphically represent frequency of words in

Read more »

Hack-at-it 2009

June 9, 2009
By
Hack-at-it 2009

The annual GGobi hack-at-it was held June 5-7 in Ames Iowa. The main directions of work areDevelopment of a new canvas for R supporting interactive and dynamic graphics. Michael is leading the effort on this. Higher level routines for supporting brushi...

Read more »

Hack-at-it 2009

June 9, 2009
By
Hack-at-it 2009

The annual GGobi hack-at-it was held June 5-7 in Ames Iowa. The main directions of work areDevelopment of a new canvas for R supporting interactive and dynamic graphics. Michael is leading the effort on this. Higher level routines for supporting brushi...

Read more »

Data Mashups in R from O’Reilly

June 9, 2009
By
Data Mashups in R from O’Reilly

O’Reilly has published Data Mashups in R as a $4.99 PDF download in their Short Cut series. In 27 pages it takes you through an example of how to combine foreclosure information with maps and geographical information...

Read more »

Data Mashups in R from O’Reilly

June 9, 2009
By
Data Mashups in R from O’Reilly

O’Reilly has published Data Mashups in R as a $4.99 PDF download in their Short Cut series. In 27 pages it takes you through an example of how to combine foreclosure information with maps and geographical information...

Read more »

Two plot with a common legend – base graphics

June 6, 2009
By
Two plot with a common legend – base graphics

If you need to share a common legend between two graphs using the ggplot2 package/paradigm take a look at this post from the Learning R blog.The code below solves the same task using the R base graphics.png( "2plot1legend.png", width = 480, height = 68...

Read more »