78

I'm interested in learning R on the cheap. What's the best free resource/book/tutorial for learning R?

amoeba
  • 93,463
  • 28
  • 275
  • 317
Yahel
  • 555
  • 3
  • 9
  • 11

21 Answers21

57

Some useful R links (find out the link that suits you):

Intro:

with a focus on economics:

Graphics: plots, maps, etc.:

GUIs:

Time series & finance:

Data / text mining:

Other statistical techniques:

Editors:

Interfacing w/ other languages / software:

Blogs, newsletters, etc.:

Other / uncategorized: (as of yet)

htrahdis
  • 638
  • 5
  • 5
  • 5
    This list was becoming less usable. It needs to be organized & at least somewhat standardized to be useful. However, there is no reason to think my reworked version is ideal; eg I'm not familiar w/ all the links. People w/ more expertise should feel free to add / change / shuffle or otherwise reorganize. – gung - Reinstate Monica Jun 12 '12 at 18:15
24

If I had to choose one thing, make sure that you read "The R Inferno".

There are many good resources on the R homepage, but in particular, read "An Introduction to R" and "The R Language Definition".

Shane
  • 11,961
  • 17
  • 71
  • 89
  • Agreed, though I'd choose it as my second book, after _R Cookbook (O'Reilly)_ (not free!) _R Inferno_ felt like _Cookbook Part 2_. – Darren Cook Jan 06 '12 at 04:19
  • http://www.burns-stat.com/pages/Tutor/hints_R_begin.html is sort of Circle 0 of 'The R Inferno'. I agree with Darren -- I don't see the Inferno as introductory. – Patrick Burns Feb 21 '12 at 16:46
18

Quick-R can be a good place to start.

A little bit data mining oriented R and Data Mining resources: Examples and Case Studies and R Reference Card for Data Mining.

emarshah
  • 103
  • 3
radek
  • 1,207
  • 2
  • 15
  • 37
13
Jeromy Anglim
  • 42,044
  • 23
  • 146
  • 250
11

Try IPSUR, Introduction to Probability and Statistics Using R. It's a free book, free in the GNU sense of the word.

http://ipsur.r-forge.r-project.org/book/index.php

It's definitely open source - on the download page you can download the LaTeX source or the lyx source used to generate this.

Stephen Turner
  • 4,183
  • 8
  • 27
  • 33
8

One resource is 'Some hints for the R beginner' at http://www.burns-stat.com/pages/Tutor/hints_R_begin.html

8

The official guides are pretty nice; check out http://cran.r-project.org/manuals.html . There is also a lot of contributed documentation there.

8

If you're an economist/econometrician then Grant Farnworth's paper on using R is indispensable and is available on CRAN at: http://cran.r-project.org/doc/contrib/Farnsworth-EconometricsInR.pdf

Graham Cookson
  • 7,543
  • 6
  • 41
  • 35
8

If you have experience in other languages, these "R Rosetta Stone" videos may be useful:

  1. Python
  2. MATLAB
  3. SQL

These are all included in the video list added by Jeromy, so big +1 for his list.

DrewConway
  • 346
  • 1
  • 2
  • 8
7

I have written a document that is freely available at my website and on CRAN. See the linked page:

icebreakeR

The datasets that are used in the document are also linked from that page. Feedback is welcome and appreciated!

Andrew

Andrew Robinson
  • 739
  • 5
  • 9
6

After you learn the basics, I find the following sites very useful:

  1. R-bloggers.
  2. Subscribing to the Stack overflow R tag.
csgillespie
  • 11,849
  • 9
  • 56
  • 85
6

A large number of short videos that cover a lot of useful tasks with R (91 videos as of March 2013): http://www.twotorials.com/

Here's a nice new interactive online tutorial on the basics of R: http://tryr.codeschool.com/

Ben
  • 729
  • 9
  • 22
5

The R project website has lots of manuals to start, and I suggest you the Nabble R forum and the R-bloggers site as well.

Manuel Ramón
  • 2,045
  • 4
  • 15
  • 16
5

If you already know another programming language, these notes may help point out some of the ways R might surprise you.

John D. Cook
  • 3,714
  • 1
  • 24
  • 28
4

One more: R bloggers has many posts with tutorials materials:

http://www.r-bloggers.com/?s=tutorial

Tal Galili
  • 19,935
  • 32
  • 133
  • 195
4

I liked these lectures: Statistical Aspects of Data Mining. The lecturer is solving example problems using R.

niko
  • 1,261
  • 3
  • 15
  • 18
4

If you are coming from a SAS or SPSS background, check out:

http://sites.google.com/site/r4statistics/

This is the companion site to the book, R for SAS and SPSS Users by Robert Muenchen and a free version of the book can be found here.

2

There are some very good learning materials here: http://scc.stat.ucla.edu/mini-courses/materials-from-past-mini-courses/spring-2009-mini-course-materials/

2

Look for R Users Groups in your area. They are growing around the world.

http://blog.revolutionanalytics.com/local-r-groups.html

If you don't have one then help get one started. I'm sure you will be able to find like minded interested folks.

As for helpful links the Dallas R Users Group has a nice list.

http://www.meetup.com/Dallas-R-Users-Group/pages/R_Helpful_Links/

IEORTools
  • 143
  • 1
  • 4
2

http://www.datamind.org offers interactive R tutorials, currently focused at real beginners

1

If you'd like a beginners tutorial to R in the context of Econometrics this may be a good starting point as well: http://www.quandl.com/learn/working-with-quandl-and-r

Sean C
  • 1
  • 1