0%

Book Description

Jump into the R programming language and go beyond "Hello World!”

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results.
  • Basic concepts of the R language
  • Discover tips and tricks for working with R
  • Learn manipulation of R objects to easily customize your code

In Detail

R is a versatile cross-platform environment with the power of a programming language and the flexibility of a scripting language. It is extremely powerful in manipulating and visualizing complex databases, performing statistical computations and producing any kind of plot with a very high graphical quality.

Instant R Starter is a practical introduction to the R language and will show you how to use the main functionalities of the environment. It has hands-on instructions on data analysis, data manipulation, and tips and tricks on quickly debugging your programs.

Instant R Starter will provide you with the basis of the uses of R and will set up the starting point for your future advanced development with the R language. After these basic concepts you will learn how to apply them in more advanced programming techniques, like writing complex functions, debugging them, manipulate data and plotting them.

Table of Contents

  1. Instant R Starter
    1. Instant R Starter
    2. Credits
    3. About the Author
    4. About the Reviewers
    5. www.packtpub.com
      1. Support files, eBooks, discount offers and more
    6. packtlib.packtpub.com
      1. Why Subscribe?
      2. Free Access for Packt account holders
    7. 1. Instant R Starter
      1. So, what is R?
        1. Getting help
        2. R packages
      2. Installation
        1. Step 1 – obtaining and installing R
          1. Binary distribution
          2. Installation from source
        2. Step 2 – R versions
        3. Step 3 – news
        4. Step 4 – package installation
        5. Step 5 – using Integrated Development Environment for R
          1. RStudio
          2. Eclipse
          3. Emacs
      3. Quick start – R language
        1. Step 1 – interacting with the console
          1. Starting R
          2. Basics of the R language
          3. Function arguments
          4. Built-in data
          5. Special values (NA, NaN, Inf)
          6. Logical expressions
        2. Step 2 – understanding R objects
          1. Vectors
          2. Working with vectors
          3. Matrices and arrays
          4. Lists
          5. Data frame
      4. Top 5 features you'll want to know about
        1. Data input and output
          1. Writing data to a file
          2. Reading data from a file
          3. Pasting into an Excel spreadsheet
          4. Filling data directly in R
        2. Flow control (for, if…else, while)
          1. The if…else loop
          2. The for loop
          3. The while loop
        3. Creating your own function
        4. Debugging functions and handling exceptions (warnings and errors)
          1. Debugging functions
          2. Handling exceptions
        5. Plotting data
          1. The Graphics package
      5. People and places you should get to know
        1. Official sites
        2. Articles and tutorials
        3. Community
        4. Blogs
        5. Twitter