December 2009

Happy New Year with R

December 31, 2009 | Yihui Xie

I have to admit that the previous post on Christmas is actually not much fun. Today I received another pResent from Yixuan which is more interesting: Basically the code deals with letter polygons (i.e. glyphs) and plot them with proper projections from 3D to 2D space: ## original code by ... [Read more...]

R/Finance 2010, April 16-17 in Chicago

December 31, 2009 | David Smith

Today is the last day to submit abstracts for the R/Finance 2010 conference to be held in Chicago on April 16-17. If you're not planning on speaking, but are interested in applications of R in Finance, be sure to add this to your calendar -- last year's conference was an ... [Read more...]

Use plyr instead of _apply() in R

December 30, 2009 | Stephen Turner

I've covered plyr once before, showing you how to get means and variances for two quantitative traits across multilocus genotypes. JD Long over at Cerebral Mastication recently posted a nice screencast illustrating how plyr "just works" as an alternative to R's family of apply commands.  There's a set of R ... [Read more...]

What’s up with Darwin’s weather?

December 30, 2009 | David Smith

Darwin is a the capital city of Australia's Northern Territory. Lying on the coast of far Northern Australia, it's situated well in the tropics and as a result has hot, steamy, monsoonal weather. Darwin's weather has already had impact on urban culture, and now it seems it's had a political ... [Read more...]

Start your engines; it’s a Linux era!

December 29, 2009 | Manos Parzakonis

Well, I’m writing this from my new system. After years on hiatus I migrated to Linux, once again. Setting up a full system on Linux for a Greek user had been one of the greatest challenges. First,of all setting up writing, reading & printing in Greek was the biggest ...
[Read more...]

C++ exceptions at the R level

December 29, 2009 | romain francois

pre{ solid black 1px;} I've recently offered an extra set of hands to Dirk to work on the Rcpp package, this serves a good excuse to learn more about C++ Exception management was quite high on my list. C++ has nice exception handling (well not ... [Read more...]

Speed-reading files, revisited

December 29, 2009 | David Smith

In a post earlier this month, it seemed as though compressing a data file before reading it into R could save you some time. With some feedback from readers and further experimentation, we might need to revisit that conclusion To recap, in our previous experiment it took 170 seconds to read ... [Read more...]

tooltips in R graphics; nytR package

December 28, 2009 | jackman

At Doug Rivers’ suggestion, I started investigating tooltips as a way to label points in R graphs. An example appears at the top of my blog, where I plot the ideal points (revealed preferences) of the (current) 111th U.S. House of Representatives against Obama vote share in their district ... [Read more...]

inline 0.3.4 released

December 28, 2009 | Thinking inside the box

Oleg has updated the inline package to version 0.3.4 which is now on CRAN. It is includes my patch for both Rcpp support as well as extended header / library options for PKG_CPPFLAGS, PKG_CXXFLAGS, and PKG_LIBS which I had mentioned recently here an... [Read more...]

Example 7.19: find the closest pair of observations

December 28, 2009 | Ken Kleinman

Suppose we need to find the closest pair of observations on some variable x. For example, we might be concerned that some data had been accidentally duplicated. We return the ID's of the two closest observations, and their distance from each other. In both languages, we'll first create the data, ...
[Read more...]

Estimated Net Worth of SoilWeb- Our Online Soil Survey

December 28, 2009 | dylan

According to the excellent source code evaluation tool, SLOCCount, our online soil survey (SoilWeb) code is worth about $268,543 and would require about 2 years of development time to re-create from scratch with a single developer working full-time. This is a fairly close estimate, as I have been working (part-time) on this ... [Read more...]

Video: Visualizing data in R using ggplot2

December 28, 2009 | David Smith

At the most recent New York R User Group meetup, the topic was creating graphics in R with the ggplot2 package. Drew Conway's talk, "Making pretty pictures with ggplot2" gave several practical examples of visualizing data with ggplot2 and is well worth checking out: You can follow along with Drew's ... [Read more...]
1 2 3 7

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)