Reproducible Finance with R: The Sharpe Ratio
The new R Notebooks are a great framework for reproducible research. I just posted a blog in RStudio's new Rviews community blog that walks through a simple example of using the Notebooks format to import stock data, create a portfolio, create some nice visualizations using dygraphs and calculate the Sharpe Ratio.
Check out the full post here: Reproducible Finance with R: The Sharpe Ratio