A brief introduction to R