1062 search results for "rstudio"

Integrate data and reporting on the Web with knitr

September 11, 2012
By

Today's guest post comes from Yihui Xie, author of the knitr package — ed. Hi, this is Yihui Xie, and I'm guest posting on the Revolutions blog to talk about one aspect of the knitr package: how we can integrate data analysis and reporting in R with the Web. This post includes both the work that has been done...

Read more »

Progress bars in R using winProgressBar

September 10, 2012
By
Progress bars in R using winProgressBar

Using progress bars in R scripts can provide valuable timing feedback during development and additional polish to final products. winProgressBar and setWinProgressBar are the primary functions for creating progress bars in R. Progress bars, and progress indicators in general, are relatively uncommon in R programming. This makes sense, as they can add bloat and, being The post Progress...

Read more »

ggplot2 0.9.2 has been released!

September 7, 2012
By
ggplot2 0.9.2 has been released!

The main changes in this version are to the theming system. There are also a number of enhancements to the theming system that make it easier to modify themes and we’ve renamed a number of functions to have more informative names. Your existing code should continue to work, although you may receive warnings about functions

Read more »

Interactive web graphs with R – Overview and googleVis tutorial

September 5, 2012
By
Interactive web graphs with R – Overview and googleVis tutorial

Today I feel very lucky, as I have been invited to the Royal Statistical Society conference to give a tutorial on interactive web graphs with R and googleVis. I prepared my slides with RStudio, knitr, pandoc and slidy, similar to my Cambridge R talk. ...

Read more »

Getting data on your government

September 1, 2012
By
Getting data on your government

I created an R package a while back to interact with some APIs that serve up data on what our elected represenatives are up to, including the New York Times Congress API, and the Sunlight Labs API. What kinds of things can you do with govdat? Here ...

Read more »

PCA or Polluting your Clever Analysis

August 31, 2012
By
PCA or Polluting your Clever Analysis

When I learned about principal component analysis (PCA), I thought it would be really useful in big data analysis, but that's not true if you want to do prediction. I tried PCA in my first competition at kaggle, but it delivered bad results. This post illustrates how PCA can pollute good predictors.When I started examining this problem,...

Read more »

Getting ecology and evolution journal titles from R

August 31, 2012
By

So I want to mine some #altmetrics data for some research I'm thinking about doing. The steps would be: Get journal titles for ecology and evolution journals. Get DOI's for all papers in all the above journal titles. Get altmetrics data on each DO...

Read more »

Making matrices with zeros and ones

August 30, 2012
By

So I was trying to figure out a fast way to make matrices with randomly allocated 0 or 1 in each cell of the matrix. I reached out on Twitter, and got many responses (thanks tweeps!). Here is the solution I came up with. See if you can tell why it...

Read more »

Plotting model fits

August 29, 2012
By
Plotting model fits

We all know that it is important to plot your data and explore the data visually to make sure you understand it. The same is true for your model fits. First, you want to make sure that the model is fitting...

Read more »

Generate simple HTML slides using deck.js and markdown

August 29, 2012
By

RStudio and knitr are an excellent conbination for generating dynamic reports. But in this blog, I will show you how to generate HTML-style presentaion using R only. OK, I confess that we still need something else: deck.js and markdown and R.utils. ...

Read more »