These notes on R are designed for Stata users. Operations on datasets are presented first, operations on atomic vectors follow.