R in a Nutshell
A Desktop Quick Reference
Publisher: O'Reilly Media
Final Release Date: January 2010
Pages: 636

Why learn R? Because it's rapidly becoming the standard for developing statistical software. R in a Nutshell provides a quick and practical way to learn this increasingly popular open source language and environment. You'll not only learn how to program in R, but also how to find the right user-contributed R packages for statistical modeling, visualization, and bioinformatics.

The author introduces you to the R environment, including the R graphical user interface and console, and takes you through the fundamentals of the object-oriented R language. Then, through a variety of practical examples from medicine, business, and sports, you'll learn how you can use this remarkable tool to solve your own data analysis problems.

  • Understand the basics of the language, including the nature of R objects
  • Learn how to write R functions and build your own packages
  • Work with data through visualization, statistical analysis, and other methods
  • Explore the wealth of packages contributed by the R community
  • Become familiar with the lattice graphics package for high-level data visualization
  • Learn about bioinformatics packages provided by Bioconductor

"I am excited about this book. R in a Nutshell is a great introduction to R, as well as a comprehensive reference for using R in data analytics and visualization. Adler provides 'real world' examples, practical advice, and scripts, making it accessible to anyone working with data, not just professional statisticians."

Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
O'Reilly MediaR in a Nutshell
 
3.8

(based on 13 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (7)

  • 3 Stars

     

    (3)

  • 2 Stars

     

    (1)

  • 1 Stars

     

    (0)

92%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (9)
  • Helpful examples (9)
  • Well-written (9)
  • Concise (6)
  • Accurate (4)

Cons

  • Too many errors (3)

Best Uses

  • Intermediate (10)
  • Novice (7)
  • Student (7)
    • Reviewer Profile:
    • Developer (5)

Reviewed by 13 customers

Sort by

Displaying reviews 1-10

Back to top

Previous | Next »

 
4.0

Overall a great insight into R

By Adrijana

from Australia

Verified Reviewer

Pros

  • Easy to understand
  • Well-written

Cons

  • Too many errors

Best Uses

  • Intermediate
  • Novice
  • Student

Comments about O'Reilly Media R in a Nutshell:

I am a complete newbie to data analytics and got introduced to the subject via my lecturer at university setting an assignment to use Revolution Analytics and Data mine some data sets... I found the initial chapters very easy to work through, howvere i find it really challenging when i got to trying to install the package 'nutshell' to work through some examples and steps... i have had zero luck and have downladed from the link mentioned in another review and still get multiple different error messages, the latest being -

Error in library(nutshell) :
package 'nutshell' does not have a NAMESPACE and should be re-installed

Other than getting these errors, it seems like a helpful book to gain initial insights but can be very frustrating at the same time.

(2 of 2 customers found this review helpful)

 
4.0

a good place to start

By Lee De Cola

from Reston, VA USA

About Me University teacher

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Intermediate
    • Learning new tricks
    • Novice
    • Refreshing your skills
    • Teaching yourself R

    Comments about O'Reilly Media R in a Nutshell:

    i'm using the book to refresh my R skills, tho i've used the program for about a decade now. i've also recommended it to my Virginia Tech students.

    the examples are well structured from simple to complicated.

    but sometimes the author likes to show off: introducing custom packages on p. 43 is way ahead of most readers.

    QUESTION: is the code available anywhere?

    (2 of 2 customers found this review helpful)

     
    4.0

    No problem installing

    By Dan

    from Berkeley, CA

    Verified Reviewer

    Comments about O'Reilly Media R in a Nutshell:

    I just got this book, and haven't studied it yet, but just to respond to the two previous reviews, I had no trouble downloading and installing the "nutshell" package (library) that contains the sample data sets. From the link provided on the O'Reilly page, I downloaded the .tgz file, then in Mac OS X version of R used Packages Data -> Package Installer to load the package as a "local binary package." Then used the R command library(nutshell).

    (2 of 5 customers found this review helpful)

     
    2.0

    Unable to load examples package

    By McMurdo Station

    from Moorpark, CA

    Verified Reviewer

    Comments about O'Reilly Media R in a Nutshell:

    The book seems to be clear but it is annoying when the examples given cannot be used because the "nutshell" package is not available. This happens with many technical books and makes them frustrating to use.

    (5 of 5 customers found this review helpful)

     
    3.0

    Good book, but package doesn't install

    By A_User

    from Boise, ID

    About Me Educator

    Verified Reviewer

    Pros

    • Well-written

    Cons

      Best Uses

      • Intermediate

      Comments about O'Reilly Media R in a Nutshell:

      The book is not bad and I like it as a reference (not something to work through from A-Z). Sometimes, it's too obvious that the author tried to squeeze in too much so some little sections are not helpful: they indicate that a certain functionality is available, but nothing else - in such cases less (different sections) would have been more (in terms of readability). Real downer: the package doesn't install, neither on R 2.10 nor on R 2.12 (for Win 7).

      (5 of 5 customers found this review helpful)

       
      3.0

      Good, minus a number of typos

      By TheDarkTrumpet

      from Iowa City, IA

      About Me Developer

      Pros

      • Concise
      • Helpful examples
      • Well Organized

      Cons

      • Too many errors

      Best Uses

      • Expert
      • Intermediate

      Comments about O'Reilly Media R in a Nutshell:

      I am very new to R, and have been reading this book for roughly a week now. The good part about this book is the overall organization. It's pretty easy to find what you're looking for - it's a desktop reference. Unfortunately, learning how to use R is a bit hard from this book. You could go the route of page 1 in learning the basic syntax, then eventually going into graphics and analysis of data - but quite honestly most books I've seen rather go with small projects to give the feel for something then jump into the details. I found I had to go to a tutorial first to get a general feel about what R can do, before diving too far into the book. The largest issue I have with the book is that it contains some typos. I found the most confusing was the constant reference to outputting a pdf (using png..). I kept getting errors trying to open the PDF, and through some googling I found that he actually likely meant the pdf command, where png requires a png extension. I feel like kinda an idiot now for not seeing it earlier, but it's little things like this you'll need to be careful of. Another issue I have with the book is the constant jumping around from various data sets. Some data sets aren't even explained well beforehand on commands done against them. There's a bit of a "leap of faith" about what x is set to currently as operations are done to it. Overall, I think the book is good, especially for reference despite the typos and data descriptions.

      (2 of 2 customers found this review helpful)

       
      4.0

      Good book for R developers

      By Balaji

      from Chicago, IL

      About Me Developer

      Verified Reviewer

      Pros

      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate
        • Novice
        • Student

        Comments about O'Reilly Media R in a Nutshell:

        This is a good book for R developers. As a developer myself I feel that the chapters are crisp and well organized.

        The book starts of by giving a feel for the language (like a teaser trailer) and then diving into the structure and syntax of R and finally putting it all together to perform statistical analysis.

        (3 of 3 customers found this review helpful)

         
        5.0

        Great deal

        By Heavy R user

        from Vienna, AUT

        About Me Developer

        Verified Reviewer

        Pros

        • Easy to understand
        • Helpful examples

        Cons

          Best Uses

          • Intermediate

          Comments about O'Reilly Media R in a Nutshell:

          The book is just awesome at accomplishing what it set out to do - being used as a great Desktop reference.
          Worth every penny/cent.

           
          4.0

          Good Introductory Book to R

          By Raj Jammalamadaka

          from Palo Alto, CA

          About Me Developer

          Verified Reviewer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

            • Intermediate
            • Novice
            • Student

            Comments about O'Reilly Media R in a Nutshell:

            This book is a very good introduction to the R programming language.R is a free, general purpose programming language(with a strong support for doing statistics).The language has its idiosyncrasies. For example, the assignment operator is denoted by a reverse arrow (x<-2); this book does a pretty good job of explaining all these in detail. Once you get past these details, you will find that R is a pretty versatile language. Let us take an example (source: [@]). The following code installs the quantmod packageand then displays the stock of Apple along with Bollinger Bands ([@]).install.packages("quantmod") # installs the package quantmodlibrary(quantmod) # loads the packagegetSymbols("AAPL") # load Apple's datachartSeries(AAPL) # Create financial chartsaddBBands() # Add the Bollinger Bands.One of the best parts of R is huge support of libraries for doing commercial grade statistics and the plots/graphs produced by R are of high quality.Though I didn't get a chance to try it out, there is a package called RPy which is a Python interface to the R programming language. More details can be found here: [@]you are mathematically inclined, definitely check this book out. Once you learn R, you can use it anywhere/anytime without ever paying a license fee.

            (6 of 8 customers found this review helpful)

             
            3.0

            A good guide let down by typos.

            By Gift

            from UK

            About Me Biological scientist

            Verified Reviewer

            Pros

            • Concise
            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

            • Too many errors

            Best Uses

            • Intermediate
            • Novice
            • Student

            Comments about O'Reilly Media R in a Nutshell:

            I've been looking for a good introduction to R for a long time now, and this book really does do remarkable job of introducing you to the basics, while fleshing out the finer details of the language.

            However, I feel it is badly let down by frequent typos and omissions. By way of example, on page 318 the reader is instructed to split a data set on a date using "cut":

            bwplot(price~cut(saledate,"month"),data=sanfrancisco.home.sales)

            This simply will not work, as cut expects a numeric value; the correct method would be to use "cut.Date". It's fairly obvious what has gone wrong, but that's not always the case. Novice users really shouldn't have to chase these, all too frequent, mistakes up.

            All in all, a handy textbook that I would recommend, albeit with the caveat you'll occasionally need to search round to find what the author should have written. Errata can't come soon enough in my opinion...

            Displaying reviews 1-10

            Back to top

            Previous | Next »

             
            Buy 2 Get 1 Free Free Shipping Guarantee
            Buying Options
            Immediate Access - Go Digital what's this?

            Available in Multiple Languages