R for Stata users

These notes on R are designed for Stata users. In contrast with most R tutorials, operations on datasets are presented first, operations on atomic vectors follow.