An Introduction to R