On the *Examples* menu above, you will find example programs that show how to do the same tasks in R, SAS, SPSS and Stata. They use simple practice data sets that are easy to understand and work with. If you run the code and see the result, it is usually clear how each package performs each task. The R programs in particular go through additional steps to show variations on the solution. The examples are explained step-by-step in my books *R for SAS and SPSS Users* and *R for Stata Users*. Both the example programs and their data sets are also available under *Downloads*.

### Search this site

### Top Posts & Pages

- The Popularity of Data Analysis Software
- Graphics, ggplot2
- Will 2015 be the Beginning of the End for SAS and SPSS?
- Forecast Update: Will 2014 be the Beginning of the End for SAS and SPSS?
- Home
- Selecting Variables and Observations
- Basic R Programming
- Downloads
- A Practice Data Set
- Why R is Hard to Learn

### Blogroll

### Blog Stats

- 641,628 hits

### Meta

### Twitter

- @mike693169 Hi Mike, did you have a problem doing something on r4stats.com? 1 week ago
- More control over dendrograms by @talgalili r-statistics.com/2015/08/dendex… #rstats #analytics #statistics #bigdata 3 weeks ago
- @hadleywickham Thanks. Pure black is quite harsh unless the text is fairly tiny. 3 weeks ago
- @hadleywickham LCD projectors have limited contrast. The darker I make the text, the smaller I can go & still have audience legibility. 3 weeks ago
- @hadleywickham As you're tweaking ggplot2 options, please consider darkening the axis numbers. I set mine to black for max visibility. 3 weeks ago

Pingback: A little R love for my non-R fiends… « Quantitative Ecology