Installing the RGoogleAnalytics package

By Kushan Shah | 20.06.2013

In this blog post, I would walk you through the steps from downloading to installing the RGoogleAnalytics package on your machine.

The RGoogleAnalytics package currently resides at and this page lists the latest developments around the package. The zip and tarball archives for the package can be obtained from the Downloads Section.

Once you download the archive, fire up the RStudio interface and click on the Install Packages button in the Packages tab and select the Package Archive File option as shown in this screenshot.


Browse to the location containing the downloaded package archive and install it. Your RStudio console should then display the following messages :

As an aside, RGoogleAnalytics requires a couple of addtional packages for its working. These are : rjson, RCurl and bitops. These can be downloaded by clicking on Install Packages again, selecting Repository(CRAN, CRANExtra) and typing the package name.

Do let us know if this worked out for you. As a next step, you might be interested in learning how to extract Google Analytics data extraction in R. Here’s the link :
Update : You might get a warning saying that the package is not available for R 3.0.0 or R 3.0.1. This is warning message specific to RStudio. While installing this package from RStudio, it will call getDependencies() to check its dependencies and also identify that whether the original  package exists on CRAN and throws the given warning when it doesn’t. As RGoogleAnalytics package is not on CRAN, hence the warning. and can be safely ignored. I hope this should be fixed up when RGoogleAnalytics is ported on CRAN. Doing the installation from default R console shall not fire this warning message.

Would you like to understand the value of predictive analysis when applied on web analytics data to help improve your understanding relationship between different variables? We think you may like to watch our Webinar – How to perform predictive analysis on your web analytics tool data. Watch the Replay now!

Kushan Shah

Kushan Shah

Kushan is a Web Analyst at Tatvic. His interests lie in getting the maximum insights out of raw data using R and Python. Google+

More Posts - Website

Follow Me: