Google Analytics using #Rstats – Updated

Due to changes in Google APIs my earlier post on using Google Analytics in R is deprecated.  Unfortunately it is still on top 10 results for Google results for Using Google Analytics with R.

That post is here

A more updated R package on Google Analytics and R is here .

A better updated post on an easy to use tutorial on using Google Analytics with R using OAuth 2 playground is here.

  1. Set the Google analytics query parameters for preparing the request URI
  2. Get the access token from Oauth 2.0 Playground
  3. Retrieve and select the Profile
  4. Retrieving GA data

Note it is excellent for learning to use RJSON method as well. You can see the details on the Tatvic blog above.

Hat tip- Vignesh Prajapati



Data Visualization for R packages at Github #rstats

I noticed this article sometime back by the most excellent hacker, John Myles White ( author Machine learning for Hackers)

Professor John Fox, whom we have interviewed here as the creator of R Commander, talked on this at  User 2008

I also noticed that R Project is stuck on SVN ( yes or no??, comment please) while some part of the rest of the World has moved on to Git. See

Is Git really that good compared to SVN

Maybe, I think with 5000 packages and more , R -project needs to have more presence on Github and atleast consider Git for the distributed and international project R is becoming.

Continue reading changes Analytics made a cool change to WP- Stats , its default analytics program, It now counts visitors as well as visits. This is especially useful to writers like me who like to customize content based on analytics ( GA Analytics does not work on hosted sites) and who dont want to bother with hosting /hacking ( is much more hassle free than self-hosted , or even Rackspace hosted in my experience).

Of course the guy DOS-ing my poetry blog (via Yahoo Image Service) needs to use Tor to hide. Unless they dont want to hide and just want to click on my Roses poem 200 times (passing a subliminal message?) . Of course GA Analytics loves line charts and WP Stats loves Bar Charts, but we wont get into that.