R, at its heart, is a functional programming (FP) language. This means that it provides many tools for the creation and manipulation of functions. In particular, R has what’s known as first class functions. You can do anything with functions that you can do with vectors: you can assign them to variables, store them in lists, pass them as arguments to other functions, create them inside functions, and even return them as the result of a function...
http://atriumkm.idisantiago.es/bin/R/
Functional programming
http://adv-r.had.co.nz/Functional-programming.html
R, at its heart, is a functional programming (FP) language. This means that it provides many tools for the creation and manipulation of functions. In particular, R has what’s known as first class functions. You can do anything with functions that you can do with vectors: you can assign them to variables, store them in lists, pass them as arguments to other functions, create them inside functions, and even return them as the result of a function...
This is how I configured it working properly on two Macs running Mac OS X El Capitan (10.11.6)...
https://stackoverflow.com/questions/30738974/rjava-load-error-in-rstudio-r-after-upgrading-to-osx-yosemite
Filter, Piping and GREPL Using R DPLYR - An Intro
http://neondataskills.org/R/GREPL-Filter-Piping-in-DPLYR-Using-R/
Package metadata (imports, suggests...)
http://r-pkgs.had.co.nz/description.html
How to install, load and unload packages in R
http://www.dummies.com/programming/r/how-to-install-load-and-unload-packages-in-r/
Cannot load R xlsx package on Mac OS 10.11
https://stackoverflow.com/questions/35179151/cannot-load-r-xlsx-package-on-mac-os-10-11?noredirect=1&lq=1
install.packages("rJava",type='source')
How to get rid of warning messages after installing R?
https://stackoverflow.com/questions/27299420/how-to-get-rid-of-warning-messages-after-installing-r/28163310
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_COLLATE failed, using "C"
3: Setting LC_TIME failed, using "C"
4: Setting LC_MESSAGES failed, using "C"
5: Setting LC_MONETARY failed, using "C"
Open the terminal and write...