Metaprogramming in R: Advanced Statistical Programming for Data Science, Analysis and Finance 1st Edition by Thomas Mailund – Ebook PDF Instant Download/DeliveryISBN: 1484228814, 9781484228814
Full download Metaprogramming in R: Advanced Statistical Programming for Data Science, Analysis and Finance 1st Edition after payment.
Product details:
ISBN-10 : 1484228814
ISBN-13 : 9781484228814
Author: Thomas Mailund
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.
Metaprogramming in R: Advanced Statistical Programming for Data Science, Analysis and Finance 1st Table of contents:
Chapter 1: Anatomy of a Function
Manipulating Functions
Formals
Function Bodies
Function Environments
Calling a Function
Modifying Functions
Constructing Functions
Chapter 2: Inside a Function Call
Getting the Components of the Current Function
Accessing Actual Function Parameters
Accessing the Calling Scope
Chapter 3: Expressions and Environments
Expressions
Chains of Linked Environments
Environments and Function Calls
Manipulating Environments
Explicitly Creating Environments
Environments and Expression Evaluation
Chapter 4: Manipulating Expressions
The Basics of Expressions
Accessing and Manipulating Control Structures
Accessing and Manipulating Function Calls
Expression Simplification
Automatic Differentiation
Chapter 5: Working with Substitutions
A Little More on Quotes
Parsing and Deparsing
Substitution
Substituting Expressions Held in Variables
Substituting Function Arguments
Nonstandard Evaluation
Nonstandard Evaluation from Inside Functions
Writing Macros with NSE
Modifying Environments in Evaluations
Accessing Promises Using the pryr Package
People also search for Metaprogramming in R: Advanced Statistical Programming for Data Science, Analysis and Finance 1st:
macros and metaprogramming in rust
template metaprogramming in rust
metaprogramming ruby
r metaprogramming
metaprogramming r
Tags: Metaprogramming, Advanced Statistical, Data Science, Analysis, Finance, Thomas Mailund