278 search results for "animation"

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 »

2009 Chambers award winner announced

April 28, 2009
By

We are pleased to announce that the judges of the Chambers Award have selected the winner of the 2009 competition: Yihui Xie, from the Renmin University of China. Yihui received this year's award for his submission "animation," an R package for using g...

Read more »

2009 Chambers award winner announced

April 28, 2009
By

We are pleased to announce that the judges of the Chambers Award have selected the winner of the 2009 competition: Yihui Xie, from the Renmin University of China. Yihui received this year's award for his submission "animation," an R package for using g...

Read more »

Enhanced tidy.source() (Preserve Some Comments)

March 31, 2009
By

After a few hours’ work, I modified the function tidy.source() in the animation package so that it can preserve complete comment lines. See the tidy.source() wiki page for example. tidy.source <- function(source = "clipboard", keep.comment = TRUE, keep.blank.line = FALSE, begin.comment, end.comment, ...) { # parse and deparse the code tidy.block = function(block.text)

Read more »

Identify Data Points in Off-Screen R Graphics Devices

March 16, 2009
By

Today Ruya Gokhan Kocer asked me how to use the R function identify() in off-screen graphics devices. Actually it’s pretty easy as long as we obtain the list returned by identify(pos = TRUE). For example, # open a windows device x11() x = rnorm(20) y = rnorm(20) plot(x, y) # identify 5 points id = identify(x, y, n = 5, pos =

Read more »

Color: The Cinderella of dataviz

March 13, 2009
By
Color:  The Cinderella of dataviz

“Avoiding catastrophe becomes the first principle in bringing color to information: Above all, do no harm.”  — Envisioning Information, Edward Tufte, Graphics Press, 1990    Color is one of the most abused and neglected tools in data visualization. It is abused when we make poor color choices; it is neglected when we rely on poor software

Read more »

R gets some -E-S-P-E-C-T

January 12, 2009
By
R gets some -E-S-P-E-C-T

NEW YORK TIMES STORY ON THE APPEAL OF R (click to view movie) It is no secret that Decision Science News is crazy about the R language for statistical computing. Find out why R is so great in this New York Times article. Then start to teach yourself R with our short series of video

Read more »