Skip to content


Getting Started with the R Programming Language


Download "Getting Started with the Social Media Analytics Research Toolkit" (pdf, 1.25 megabytes)


Download the Social Media Analytics Research Toolkit


The R programming language was featured about a year ago in a New York Times article (http://bit.ly/iaqQ). I've been an R user since 2000, so I've collected some resources for people who want to get started with R.

The first place to start is the R Project web site at http://www.r-project.org/. Next, you'll actually want to install R itself. There are several options, depending on your environment.

  • Linux
    • Using your distro's native packages. Most Linux distros either have R available in the base repositores or have it available from external repositories. The advantage of this is that it will be integrated with your package management system. The disadvantages are that you may not get the latest version of R, and there is no uniformity between distros about how R itself is named or how many R libraries are packaged.
    • Download a package from the Comprehensive R Archive Network (CRAN). Select a mirror at http://cran.r-project.org/mirrors.html. Then follow the "Linux" link at the top. That will give you packages for Ubuntu, Debian, Suse and Red Hat. Red Hat includes Red Hat Enterprise 4 and 5 plus Fedora. Suse includes both the SUSE Linux Enterprise and openSUSE versions.
    • Build from source. Instructions for doing this are at http://cran.fhcrc.org/doc/manuals/R-admin.html
  • Windows or MacOS X
    • Select a mirror at http://cran.r-project.org/mirrors.html.
    • Follow the Windows or MacOS X link in the top panel, just under the Linux link.
      • On Windows, follow the "base" link and download "R-2.10.1-win32.exe". It's a standard Windows installer, which you just run.
      • On MacOS X, download and install "R-2.10.1.dmg"

I usually build R from source on my Linux machines. Once you've got R installed, you should have most of the documentation. But everything is also available on line at http://cran.r-project.org/manuals.html. You'll definitely want to read the Introduction at http://cran.r-project.org/doc/manuals/R-intro.html and the FAQ at http://cran.r-project.org/faqs.html.

Here's a few books on R and statistics / data visualization:

Data Visualization and R Programming Books


  • Twitter
  • Technorati Favorites
  • DZone
  • Share/Bookmark

Posted in R Programming, Exploratory Data Analysis and Data Visualization, Uncategorized.

Tagged with , , , , , , , , , , , .


9 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Continuing the Discussion

  1. Business Intelligence From Twitter Text? Six Books To Get You Started! « Borasky Research Journal linked to this post on 2010/05/06

    [...] retrieval, corpus linguistics, multivariate statistics, clustering and an introduction to R programming. Handbook of Natural Language Processing, Second Edition by Nitin [...]

  2. Ed Borasky linked to this post on 2010/05/11

    Getting Started with the R Programming Language http://meb.tw/dmUPgO #rstats

  3. Ed Borasky linked to this post on 2010/05/14

    Getting Started with the R Programming Language – Borasky Research Journal http://meb.tw/dmUPgO #rstats #visualization

  4. paulblaser linked to this post on 2010/05/14

    RT @znmeb: Getting Started with the R Programming Language – Borasky Research Journal http://meb.tw/dmUPgO #rstats #visualization

  5. Ed Borasky linked to this post on 2010/05/15

    RT @TopsyRT: Getting Started with the R Programming Language http://bit.ly/a4fzTw #rstats

  6. Ajay linked to this post on 2010/05/15

    RT @TopsyRT: Getting Started with the R Programming Language http://bit.ly/a4fzTw #rstats: RT @TopsyRT: Getting St… http://bit.ly/9rYl2S

  7. di linked to this post on 2010/05/15

    RT @Rarchive: RT @TopsyRT: Getting Started with the R Programming Language http://bit.ly/a4fzTw #rstats: RT @TopsyRT: Getting St… http://bit.ly/9rYl2S

  8. Ajay linked to this post on 2010/05/15

    RT @Rarchive: RT @TopsyRT: Getting Started with the R Programming Language http://bit.ly/a4fzTw #rstats: RT @Topsy… http://bit.ly/9z73ve

  9. ucdatalab linked to this post on 2010/05/16

    RT @Rarchive: RT @Rarchive: RT @TopsyRT: Getting Started with the R Programming Language http://bit.ly/a4fzTw #rstats: RT @Topsy… http://bit.ly/9z73ve



Some HTML is OK

or, reply to this post via trackback.

CommentLuv Enabled

Twitter Users
Enter your personal information in the form or sign in with your Twitter account by clicking the button below.



Borasky Research Journal is Digg proof thanks to caching by WP Super Cache