Metaprogramming in R : Advanced Statistical Programming for Data Science, Analysis and Finance /

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...

Full description

Saved in:
Bibliographic Details
Main Authors: Mailund, Thomas
Corporate Authors: SpringerLink Online service
Published: Apress : Imprint: Apress,
Publisher Address: Berkeley, CA :
Publication Dates: 2017.
Literature type: eBook
Language: English
Subjects:
Online Access: http://dx.doi.org/10.1007/978-1-4842-2881-4
Summary: 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
Carrier Form: 1 online resource (XI, 103 pages) : illustrations
ISBN: 9781484228814
Index Number: QA76
CLC: TP31
Contents: 1. Anatomy of a Function -- 2. Inside a Function-Call -- 3. Expressions and Environments -- 4. Manipulating Expressions -- 5. Working with Substitutions.