This report is automatically generated with the R
package knitr
(version 1.6
)
.
# Chapter 1 - Introducing R: The Big Picture # Recognizing the Benefits of Using R ## It comes as free, open-source code ### It runs anywhere ### It supports extensions ### It provides an engaged community ### It connects with other languages # Looking At Some of the Unique Features of R ## Performing multiple calculations with vectors x <- 1:5 x
## [1] 1 2 3 4 5
x + 2
## [1] 3 4 5 6 7
x + 6:10
## [1] 7 9 11 13 15
## Processing more than just statistics ## Running code without a compiler
The R session information (including the OS info, R version and all packages used):
sessionInfo()
## R version 3.0.3 (2014-03-06) ## Platform: x86_64-w64-mingw32/x64 (64-bit) ## ## locale: ## [1] LC_COLLATE=English_United Kingdom.1252 LC_CTYPE=English_United Kingdom.1252 ## [3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C ## [5] LC_TIME=English_United Kingdom.1252 ## ## attached base packages: ## [1] stats graphics grDevices utils datasets methods base ## ## other attached packages: ## [1] knitr_1.6 rfordummies_0.0-01 foreign_0.8-59 ggplot2_1.0.0 ## [5] reshape2_1.4 XLConnect_0.2-7 sos_1.3-8 brew_1.0-6 ## [9] stringr_0.6.2 fortunes_1.5-2 devtools_1.5 Revobase_7.3.0 ## [13] RevoMods_7.3.0 RevoScaleR_7.3.0 lattice_0.20-27 rpart_4.1-2 ## ## loaded via a namespace (and not attached): ## [1] codetools_0.2-8 colorspace_1.2-4 digest_0.6.4 evaluate_0.5.5 foreach_1.4.2 ## [6] formatR_0.10 grid_3.0.3 gtable_0.1.2 highr_0.3 httr_0.3 ## [11] iterators_1.0.7 labeling_0.2 MASS_7.3-33 memoise_0.2.1 munsell_0.4.2 ## [16] parallel_3.0.3 plyr_1.8.1 proto_0.3-10 Rcpp_0.11.2 RCurl_1.95-4.1 ## [21] rJava_0.9-6 roxygen2_4.0.1 scales_0.2.4 tools_3.0.3 whisker_0.3-2
Sys.time()
## [1] "2014-07-26 22:45:11 BST"