Install alm package from CRAN
install.packages("alm")
library(alm)
Get metrics on a DOI, specifying info=history
gives you the detailed data instead of totals. Note that counter is PLOS's views (includes page views of html, downloads of XML and PDF).