If you learned statistics using Stata software but have an interest in learning the R language, it's worth checking out R~Stata: Notes on Exporing Data by Princeton's Oscar Torres-Reyna. D-Lab's Laura Nelson provides an overview, but in short it's a collection of 30 PDF slides that introduces R for Stata users, and provides translation tables like the one below converting R and Stata code for various tasks:

Stata users should also check out Bob Muenchen's book R for Stata Users and the companion on-line training course. Princeton also has a good list of other resources for getting started with R for data analysis.

D-Lab: A Quick and Easy Way to Turn Your Stata Knowledge into R Knowledge

Thanks for the link. I wasn't so happy with Muenchen's book that you also mention, though. Despite the title, it read like any other introduction to R and I did not see how it translated "thinking in Stata" into R very well.

I expected to see something like "if you use macros in stata, that would be ... in R" or "here's how you find your 'variables' if you are used to thinking in spreadsheet-like data". Instead it is the "usual R as a calculator", "vectors, arrays and matrices" introduction without much reference to Stata.

Posted by: Sebastian H. | November 22, 2013 at 03:26

Here's a review of R for Stata Users from Peter Goff:

My first foray into R programming was infuriatingly unproductive. I needed something that could lay out an introduction into R that would build upon my existing knowledge of statistical programming, namely Stata. This book does just that - it identifies commands and structures that are direct parallels and directs attention towards the portions of R that are fundamentally different from Stata. The authors provide excellent examples and full example files. Since I have been using this book my experiences with R have been much more productive and far less frustrating.

Posted by: Bob Muenchen | November 25, 2013 at 07:36