Metaprogramming in R
Advanced Statistical Programming for Data Science, Analysis and Finance
Seiten
2017
|
1st ed.
Apress (Verlag)
978-1-4842-2880-7 (ISBN)
Apress (Verlag)
978-1-4842-2880-7 (ISBN)
Learn how to manipulate functions and expressions to modify how the R language interprets itself. This book is an introduction to metaprogramming in the R language, so you will write programs to manipulate other programs. Metaprogramming in R shows you how to treat code as data that you can generate, analyze, or modify.
R is a very high-level language where all operations are functions and all functions are data that can be manipulated. This book shows you how to leverage R's natural flexibility in how function calls and expressions are evaluated, to create small domain-specific languages to extend R within the R language itself.
What You'll Learn
Find out about the anatomy of a function in R
Look inside a function call
Work with R expressions and environments
Manipulate expressions in R
Use substitutions
Who This Book Is For
Those with at least some experience with R and certainly for those with experience in other programming languages.
R is a very high-level language where all operations are functions and all functions are data that can be manipulated. This book shows you how to leverage R's natural flexibility in how function calls and expressions are evaluated, to create small domain-specific languages to extend R within the R language itself.
What You'll Learn
Find out about the anatomy of a function in R
Look inside a function call
Work with R expressions and environments
Manipulate expressions in R
Use substitutions
Who This Book Is For
Those with at least some experience with R and certainly for those with experience in other programming languages.
Thomas Mailund is an associate professor in bioinformatics at Aarhus University, Denmark. He has a background in math and computer science. For the last decade, his main focus has been on genetics and evolutionary studies, particularly comparative genomics, speciation, and gene flow between emerging species. He has published Beginning Data Science in R and Functional Programming in R with Apress as well as other books out there.
1. Anatomy of a Function.- 2. Inside a Function-Call.- 3. Expressions and Environments.- 4. Manipulating Expressions .- 5. Working with Substitutions.
Erscheinungsdatum | 24.06.2017 |
---|---|
Zusatzinfo | 4 Illustrations, black and white; XI, 103 p. 4 illus. |
Verlagsort | Berkley |
Sprache | englisch |
Maße | 155 x 235 mm |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Informatik ► Theorie / Studium ► Compilerbau | |
Mathematik / Informatik ► Mathematik ► Angewandte Mathematik | |
Mathematik / Informatik ► Mathematik ► Computerprogramme / Computeralgebra | |
Schlagworte | Code • Meta • Metaprogramming • programming • R • Software • Statistics • technique |
ISBN-10 | 1-4842-2880-4 / 1484228804 |
ISBN-13 | 978-1-4842-2880-7 / 9781484228807 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
a beginner's guide to learning llvm compiler tools and core …
Buch | Softcover (2024)
Packt Publishing Limited (Verlag)
CHF 69,80