# Analyzing weblog data with R

**Revolutions**, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

The R-chart blog explains how to read a weblog file into R, so you can analyze traffic to a website. For example, here's a page request chart created with R:

Now, charts like this are stock-in-trade for tools like Google Analytics, but this is still useful if you want to look at the performance of a site that hasn't been instrumented for analytics. It also allows you to analyze other data in the weblog, such as frequency of HTTP status codes:

(Looks like this particular site is experiencing a lot of page-not-found 404 errors.) With access to the raw weblog data in R, you could subject it to any kind of statistical analysis.

You can find the R code and lots of tips for dealing with weblog data in R at the link below.

R-chart: Log File Analysis with R

**leave a comment**for the author, please follow the link and comment on their blog:

**Revolutions**.

R-bloggers.com offers

**daily e-mail updates**about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.