R version 3 released

April 3, 2013
By

The R language marks a major milestone today with the release of R 3.0.0 (codename: "Masked Marvel"). The increment in the version number reflects not a fundamental change in the R langauge itself, but a recognition that the R codebase has matured to a point where closing out the 2.x series makes sense. Nonetheless, this release does include some...

Read more »

Tables Are Like Cockroaches

April 3, 2013
By
Tables Are Like Cockroaches

As much as I would like to completely replace all tables with beautiful, intuitive, and interactive charts, tables like cockroaches cannot be eliminated. Based on this very interesting discussion on the Perceptual Edge forum with source Exploring the Origins of Tables for Information Visualization, tables date back to 1850 BCE. The paper concludes with As part of...

Read more »

Quickly Profiling Compiled Code within R on the Mac

April 3, 2013
By
Quickly Profiling Compiled Code within R on the Mac

This is a quick note on profiling your compiled code on the mac. It is important not to guess when figuring out where the bottlenecks in your code are, and for this reason, the R manual has several suggestions on how to profile compiled code running within R. All of the methods are platform dependent, with linux requiring command line tools

Read more »

R 3.0.0 is released! (what’s new, and how to upgrade)

April 3, 2013
By
R 3.0.0 is released! (what’s new, and how to upgrade)

A few hours ago Peter Dalgaard (of R Core Team) announced the release of R 3.0.0!  Bellow you can read the changes in this release. One of the features worth noticing is the introduction of long vectors to R 3.0.0. As David Smith …Read more »

Read more »

Managing memory in a list of lists data structure

April 3, 2013
By

First, a confession: instead of using classes and defining methods for them, I build a lot of ad hoc data structures out of lists and then build up one-off methods that operate on those lists of lists. I think this is a perl-ism that has transferred into my R code. I might eventually learn how

Read more »

Managing memory in a list of lists data structure

April 3, 2013
By

First, a confession: instead of using classes and defining methods for them, I build a lot of ad hoc data structures out of lists and then build up one-off methods that operate on those lists of lists. I think this … Continue reading →

Read more »

ISBA on INLA [webinar]

April 3, 2013
By
ISBA on INLA [webinar]

If you have missed the item of information, Håvard Rue is giving an ISBA webinar tomorrow on INLA: the ISBA Webinar on INLA is scheduled for April 4th, 2013 from 8:30 - 12:30 EDT. ------------------------------------------------------- To join the online meeting (Now from mobile devices using the Cisco WebEx Meeting App) ------------------------------------------------------- 1. Go to https://www.webex.com/login/attend-a-meeting

Read more »

Automated Re-Install of Packages for R 3.0

April 3, 2013
By

With the big release of R 3.0 today comes an unfortunate side effect of needing to re-install all of your packages. Luckily, R provides a pretty easy method of getting all of your packages into a list for automated re-install.  Here’s how to do it for OSX users with a default install to the Library: Automated Re-Install of...

Read more »

Hurray! An R Connections API!

April 3, 2013
By

I waited until April 3 to post this, so it wouldn't be taken as an April Fool's joke! A recent R News item announces that we now have a bona fide mechanism to create custom connections in R! This makes it possible to implement a custom connection in an R package. Until now, the only

Read more »

R 3.0.0 is released!

April 3, 2013
By
R 3.0.0 is released!

The new R 3.0.0 is out! You know the drill! Get the source code from here.

Read more »

Colour it up: my quest to master ggplot2 (part 2)

April 3, 2013
By

Your browser does not support iframes.

Read more »

Splitting a Large CSV File into Separate Smaller Files Based on Values Within a Specific Column

April 3, 2013
By
Splitting a Large CSV File into Separate Smaller Files Based on Values Within a Specific Column

One of the problems with working with data files containing tens of thousands (or more) rows is that they can become unwieldy, if not impossible, to use with “everyday” desktop tools. When I was Revisiting MPs’ Expenses, the expenses data I downloaded from IPSA (the Independent Parliamentary Standards Authority) came in one large CSV file

Read more »

CFP: the 11th Australasian Data Mining Conference (AusDM 2013), submission due 15 July

April 3, 2013
By
CFP: the 11th Australasian Data Mining Conference (AusDM 2013), submission due 15 July

********************************************************************* The 11th Australasian Data Mining Conference (AusDM 2013) Canberra, Australia, 13-15 November 2013, http://ausdm13.togaware.com Join us on LinkedIn: http://www.linkedin.com/groups/AusDM-4907891 ********************************************************************* Data mining, the art and science of intelligent analysis of (usually large) data sets for meaningful (and previously unknown) … Continue reading →

Read more »

Beware of grep with a list

April 2, 2013
By
Beware of grep with a list

Another R tip: beware of as.character applied to a list. Really, beware of grep with a list: You might have thought that the result would be just 1, but grep expects a vector of character strings. If the input is not that, it uses as.character(). Since the result of that starts with "c(", grep finds

Read more »

apply vs for

April 2, 2013
By
apply vs for

It’s widely understood that, in R programming, one should avoid for loops and always try to use apply-type functions. But this isn’t entirely true. It may have been true for Splus, back in the day: As I recall, that had to do with the entire environment from each iteration being retained in memory. Here’s a

Read more »

x[[c(5,3)]]

April 2, 2013
By
x[[c(5,3)]]

An R tip: Did you know that x] is the same as x]]? I should make more thorough use of this. In the help file for ] is equivalent to alist]...] providing all but

Read more »

Personal R Packages

April 2, 2013
By
Personal R Packages

I came across this R package on GitHub, and it made me so excited that I decided to write a post about it. It’s a compilation by Karl Broman of various R functions that he’s found helpful to write throughout … Continue reading →

Read more »

2013-3 Generating unique names in gridSVG

April 2, 2013
By

The gridSVG package exports grid images to the SVG image format for viewing on the web. This article describes the problems associated with retaining grid object names in SVG element id attributes. In addition, new features in gridSVG that allow … Continue reading →

Read more »

Revisiting MPs’ Expenses

April 2, 2013
By
Revisiting MPs’ Expenses

I couldn’t but notice the chatter about Iain Duncan Smith claiming he’d have no problem “living on 53 pounds a dayweek“, which made me wonder not only how many meal catered events he attends each week (and how many of his scheduled meeting also have complementary tea and biscuits (a bellweather of the extent of

Read more »

a brief on naked statistics

April 2, 2013
By
a brief on naked statistics

Over the last Sunday breakfast I went through Naked Statistics: Stripping the Dread from the Data. The first two pages managed to put me in a prejudiced mood for the rest of the book. To wit: the author starts with some math bashing (like, no one ever bothers to tell us about the uses of

Read more »

R Beginners – Plotting Locations on to a World Map

April 2, 2013
By
R Beginners – Plotting Locations on to a World Map

This post is targeted at those who are just getting started plotting on maps using R.The relevant libraries are: maps, ggplot2, ggmap, and maptools. Make sure you install them.The Problem Let's take a fairly simple use case: We have a few points on the...

Read more »

What’s New in Release 6.2: Additional ScaleR Features

April 2, 2013
By

by Thomas Dinsmore Revolution R Enterprise Release 6.2 is in track for General Availability on April 22. In previous posts, I've commented on support for open source R 2.15.3 and Stepwise Regression. Today I'll wrap this series with a summary of some of the other new features supported in this release. Parallel Random Number Generation For analysts seeking to...

Read more »

Estimating continuous piecewise linear regression

April 2, 2013
By
Estimating continuous piecewise linear regression

When talking about smoothing splines a simple point to start with is a continuous piecewise linear regression with fixed knots. I did not find any simple example showing how to estimate the it in GNU R so I have created a little snippet that does the j...

Read more »

Push hard on a problem here and it might just pop up over there

April 2, 2013
By

One thing I have noticed when reading other peoples’ R code is that their functions are often a lot longer than mine. Writing overly long functions is a common novice programmer mistake, but the code I am reading does not look like it is written by novices (based on the wide variety of base functions

Read more »

Introducing the healthvis R package – one line D3 graphics with R

April 2, 2013
By

We have been a little slow on the posting for the last couple of months here at Simply Stats. That’s bad news for the blog, but good news for our research programs! Today I’m announcing the new healthvis R package … Continue reading →

Read more »

Top 10 tips to get started with R

April 2, 2013
By

Be motivated. R has a steep learning curve. Find a problem you can't solve otherwise. E.g. plotting multivariate data, a statistical analysis for which an R function exists already. Download and install R. Get to know the R console. Learn how to instal...

Read more »

This day in history (1997-04-01)

April 1, 2013
By
This day in history (1997-04-01)

Today it's 16 years ago and 367,496 messages later since Martin Mächler started the R-help (321,119 msgs), R-devel (45,830 msgs) and R-announce (547 msgs) mailing lists - a great benefit to all of us.  Special thanks to Martin and also thanks to everyone else contributing to these forums. https://stat.ethz.ch/pipermail/r-help/1997-April/001490.html

Read more »

Le Monde puzzle [#814]

April 1, 2013
By
Le Monde puzzle [#814]

The #814 Le Monde math puzzle was to find 100 digits (between 1 and 10) such that their sum is equal to their product. Given the ten possible values of those digits, this is equivalent to finding integers a1,…,a10 such that a1+…+a10=100 and a1+2a2+…+10a10=2a2x….x10a10, which reduces the number of unknowns from 100 to 10 (or

Read more »

Install R

April 1, 2013
By

Video Files This file contains data on pain score after laparoscopic vs. open hernia repair. Age, gender and primary/recurrent hernia also included. The ultimate aim here is to work out which of these factors are associated with more pain after this operation. lap_hernia Script  

Read more »

Sponsors

Mango solutions



RStudio homepage



Zero Inflated Models and Generalized Linear Mixed Models with R

Quantide: statistical consulting and training



http://www.eoda.de









ODSC

CRC R books series













Contact us if you wish to help support R-bloggers, and place your banner here.