Slides by Aedin

Jun 2012

Making Slides

A bit R code

a <- 10 b <- 20 myVec <- rnorm(5) a + b
## [1] 30
range(myVec)
## [1] -1.4149 0.8748

Graphics too

plot(1:10, col = "red")

R Session Info

print(sessionInfo(), locale = FALSE)
## R version 2.15.0 (2012-03-30) ## Platform: i386-pc-mingw32/i386 (32-bit) ## ## attached base packages: ## [1] stats graphics grDevices utils datasets methods base ## ## other attached packages: ## [1] ggplot2_0.9.1 whisker_0.1 slidify_0.1 devtools_0.6 knitr_0.5 ## ## loaded via a namespace (and not attached): ## [1] codetools_0.2-8 colorspace_1.1-1 dichromat_1.2-4 ## [4] digest_0.5.2 evaluate_0.4.2 formatR_0.4 ## [7] grid_2.15.0 highlight_0.3.1 labeling_0.1 ## [10] markdown_0.5.1 MASS_7.3-18 memoise_0.1 ## [13] munsell_0.3 parser_0.0-14 plyr_1.7.1 ## [16] proto_0.3-9.2 RColorBrewer_1.0-5 Rcpp_0.9.10 ## [19] RCurl_1.91-1.1 reshape2_1.2.1 scales_0.2.1 ## [22] stringr_0.6 tools_2.15.0 XML_3.9-4.1