FavoriteLoadingBookmark this content

Advanced R No ratings yet.

Link to Content:
Advanced R via Hadley Wickham

Created/Published/Taught by:
Hadley Wickham

Content Found Via:
William Chen

Free? Partially: Some Free Content, Some Paid

Cost Range:
$0.00 - $56.95

Tags: / / / / / /
Content Type: / /

Difficulty Rating:

No ratings yet.

from Had.co.nz:

“The book is designed primarily for R users who want to improve their programming skills and understanding of the language. It should also be useful for programmers coming to R from other languages, as it explains some of R’s quirks and shows how some parts that seem horrible do have a positive side.

This book describes the skills I think an advanced R programmer should have: the ability to produce quality code that can be used in a wide variety of circumstances.

After reading this book, you will:

  • Be familiar with the fundamentals of R. You will understand complex data types and the best ways to perform operations on them. You will have a deep understanding of how functions work, and be able to recognise and use the four object systems in R.
  • Understand what functional programming means, and why it is a useful tool for data analysis. You’ll be able to quickly learn how to use existing tools, and have the knowledge to create your own functional tools when needed.
  • Appreciate the double-edged sword of metaprogramming. You’ll be able to create functions that use non-standard evaluation in a principled way, saving typing and creating elegant code to express important operations. You’ll also understand the dangers of metaprogramming and why you should be careful about its use.
  • Have a good intuition for which operations in R are slow or use a lot of memory. You’ll know how to use profiling to pinpoint performance bottlenecks, and you’ll know enough C++ to convert slow R functions to fast C++ equivalents.
  • Be comfortable reading and understanding the majority of R code. You’ll recognise common idioms (even if you wouldn’t use them yourself) and be able to critique others’ code.”

Content link goes to free ebook/website. Also available on Amazon.

Recommended Prerequisites: This book is aimed at two complementary audiences:

Intermediate R programmers who want to dive deeper into R and learn new strategies for solving diverse problems.

Programmers from other languages who are learning R and want to understand why R works the way it does.

To get the most out of this book, you’ll need to have written a decent amount of code in R or another programming language. You might not know all the details, but you should be familiar with how functions work in R and although you may currently struggle to use them effectively, you should be familiar with the apply family (like apply() and lapply()).

Go to Content: Advanced R