(This article was first published on Why? » R, and kindly contributed to R-bloggers)
I’m currently writing some lecture notes on R and I used the phrase “a R package” without thinking. Since the word following the article “a” was a consonant, I automatically went for “a” instead of “an”. The problem is that “R” sounds likes a vowel, so “a R package” grates on the listener. The correct rule is to use “an” when the word following the article “sounds like a vowel”.
A quick google search suggests other people mess up too:
- “an R package” – around 600, 000 hits;
- “a R package” – around 150,000 hits.
Who would have thought that people could be wrong on the internet…

To leave a comment for the author, please follow the link and comment on his blog: Why? » R.
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

Zero Inflated Models and Generalized Linear Mixed Models with R.
Zuur, Saveliev, Ieno (2012).