Learn R


Learn R#


Start with An Introduction to R. The pdf version is more readable than the html version, likely because the authors of R are from the academic world and are rendering html as an afterthought (i.e. with LaTeX).

Functional programming resources:

To debug, you can insert browser in the code, or run options(error = browser) (see ref) to open the debugger on errors. See also debug, in particular debugonce.