A new gitbook – learnR

May 30, 2014

(This article was first published on The blog of Kun Ren, and kindly contributed to R-bloggers)

Gitbook is rather a relatively new concept on the web. It provides a user-friendly framework for authors to write and produce online books with beautiful illustrations and responsive interactions. It allows authors to write in Markdown syntax, which is very easy to learn and use, so that they can focus more on the contents they try to produce than the layout and styles of the contents.

There are already couple of books online. However, I can't find any authors writing a gitbook related to R. A month ago, I needed to give lectures to introduce R to my team, so I prepared a variety of code that covers a wide range of topics from the absolute basics to advanced programming concepts and practices.

I created learnR project and decided to produce a gitbook based on that code. Therefore I transformed the repo to a new gitbook repo entitled learnR for R users to better understand the basics and underlying mechanisms of R so as to solve problems using R with easier and more elegant code and techniques.

Thanks to Jason Bryer's Rgitbook package! It allows me to write the book in R Markdown and transform the output to markdown.

The gitbook is still in its early stage, but it's already online for preview, and the contents are planned as the following:

  • Quick start
    • What is R
    • Why R
    • How to install R
    • RStudio
    • First model
  • Basic objects
    • Vector
    • Matrix
    • Array
    • List
    • Data frame
    • Function
    • Formula
  • Basic expressions
    • Assignment
    • Condition
    • Loop
  • Basic functions
    • Environment
    • Package
    • Object
    • Logical
    • Character
    • Math
    • Statistics
    • Data
    • Graphics
  • Basic statistics
    • Preparing data
    • Descriptive statistics
    • Linear regression
    • Hypothesis testing
    • Model analysis
    • Time series modeling
  • Basic data mining
    • Using models
    • Cross validation
  • Basic grahpics
    • Scatter plot
    • Line plot
    • Bar chart
    • Pie chart
    • Histogram
    • Composing plots
    • Partitioning plots
    • Graphics devices
  • Inside R
    • Lazy evaluation
    • Dynamic scoping
    • Object searching
    • Memory management
    • dot-dot-dot
    • Functions
    • Environment
    • Expression
    • Call
  • Data structures
    • S3 object
    • S4 object
  • Database
    • SQL
    • Excel workbook
    • SQLite
    • SQL on data frame
  • Parallel computing
    • parallel package
  • Functional programming
    • Anonymous functions
    • Closures
    • Higher-order functions
  • Profiling
    • Computing time
    • Memory usage
  • Advanced graphics
    • Interative graphics
    • ggplot2
    • ggvis
  • Popular-packages
    • stringr
    • reshape2
    • rootSolve
    • Rsolnp
    • plyr
    • dplyr
    • data.table
    • pipeR
    • jsonlite
    • Rcpp
  • Exercises

If you are interested in making contributions, please fork the repo and send me pull requests.

To leave a comment for the author, please follow the link and comment on their blog: The blog of Kun Ren.

R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)