<commit_before># Demostration of R's [Shiny][shi]

Shiny <= Rcpp <= R 3.0.x

    R -e "shiny::runGitHub('shiny-demo', 'clebio')"

## Anscombe's Quartet
    summary(anscombe)

[Anscombe's quartet][ansc] is a [pathological][patho] dataset designed to illustrate the danger of summary statistics... or of not looking at enough descriptors... or rather, it illustrates the role visualization plays in exploratory analysis.

## Visualizing Data

## Iteration. Fast iteration cycle

  - Traditional statistics (and small data sets)
  - Visualizing data (as well as large data sets and powerful computers)

Modern data analysis. [Data Analysis With Open Source Tools][janert]

## A Modern Quartet?
An equivalent to Anscombe's quartet in higher dimensions. Visualization only gets you so far, and thus a battery of statistical tests is still quite necessary.

  - Sparse data in high dimensions; the curse of dimensionality
  - PCA and the mistake of fitting in too few dimensions

### A Python Equivalent?
[IPython Notebooks][inote]
Continuum Analytics' [Bokeh][bokeh] (with [Anscombe example](http://bokeh.pydata.org/plot_gallery/anscombe.html), no less!)

### Colophon
Presentation slides use [Reveal.js][rev]

[ansc]:https://en.wikipedia.org/wiki/Anscombe's_quartet
[shi]:http://rstudio.github.io/shiny/tutorial/
[janert]:http://shop.oreilly.com/product/9780596802363.do
[rev]:http://lab.hakim.se/reveal-js/
[patho]:https://en.wikipedia.org/wiki/Pathological_example
[inote]:http://ipython.org/notebook.html
[bokeh]:https://github.com/ContinuumIO/Bokeh<commit_msg>Tighten up the README somewhat<commit_after># Demostration of R's [Shiny][shi]

##Prerequisites
Shiny <= Rcpp <= R 3.0.x

##Running the code
    R -e "shiny::runGitHub('shiny-demo', 'clebio')"

## Anscombe's Quartet
    summary(anscombe)

[Anscombe's quartet][ansc] is a [pathological][patho] dataset designed to illustrate the danger of summary statistics... or of not looking at enough descriptors... or rather, it illustrates the role visualization plays in exploratory analysis.

##Quick overview of Shiny
[*Shiny has Updates!*][new_shine]

- server.R
- ui.R

- Widgets
- Standard R libraries (ggplot, etc.)
- Responsive components
- Reactive elements

##Extensions

- Database connections
- client/server deployment

[new_shine]: http://shiny.rstudio.com/tutorial/
[ansc]:https://en.wikipedia.org/wiki/Anscombe's_quartet
[shi]:http://rstudio.github.io/shiny/tutorial/
[janert]:http://shop.oreilly.com/product/9780596802363.do
[rev]:http://lab.hakim.se/reveal-js/
[patho]:https://en.wikipedia.org/wiki/Pathological_example
[inote]:http://ipython.org/notebook.html
[bokeh]:https://github.com/ContinuumIO/Bokeh
{'fraction_non_alphanumeric': 0.12986526946107785, 'fraction_numerical': 0.01122754491017964, 'mean_word_length': 4.913716814159292, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7497835', 'n_tokens_mistral': 940, 'n_tokens_neox': 860, 'n_words': 240}