Learn R: As a Language

Learn R: As a Language
Learn R: As a Language by Pedro J. Aphalo
English | 2020 | ISBN: 0367182533 | 364 Pages | PDF, EPUB | 20 MB

Learning a computer language like R can be either frustrating, fun, or boring. Having fun requires challenges that wake up the learner’s curiosity but also provide an emotional reward on overcoming them. This book is designed so that it includes smaller and bigger challenges, in what I call playgrounds, in the hope that all readers will enjoy their path to R fluency. Fluency in the use of a language is a skill that is acquired through practice and exploration. Although rarely mentioned separately, fluency in a computer programming language involves both writing and reading. The parallels between natural and computer languages are many, but differences are also important. For students and professionals in the biological sciences, humanities, and many applied fields, recognizing the parallels between R and natural languages should help them feel at home with R. The approach I use is similar to that of a travel guide, encouraging exploration and describing the available alternatives and how to reach them. The intention is to guide the reader through the R landscape of 2020 and beyond.

  • R as it is currently used
  • Few prescriptive rules―mostly the author’s preferences together with alternatives
  • Explanation of the R grammar emphasizing the “R way of doing things”
  • Tutoring for “programming in the small” using scripts
  • The grammar of graphics and the grammar of data described as grammars
  • Examples of data exchange between R and the foreign world using common file formats
  • Coaching for becoming an independent R user, capable of both writing original code and solving future challenges