Advertisement

Metaprogramming in R

Advanced Statistical Programming for Data Science, Analysis and Finance

  • Thomas┬áMailund

Table of contents

  1. Front Matter
    Pages i-xi
  2. Thomas Mailund
    Pages 1-15
  3. Thomas Mailund
    Pages 17-33
  4. Thomas Mailund
    Pages 35-55
  5. Thomas Mailund
    Pages 57-75
  6. Thomas Mailund
    Pages 77-97
  7. Back Matter
    Pages 99-103

About this book

Introduction

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. 

You will:
  • 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 

Keywords

metaprogramming R programming meta code statistics technique software

Authors and affiliations

  • Thomas┬áMailund
    • 1
  1. 1.Aarhus NDenmark

Bibliographic information

Industry Sectors
Electronics
IT & Software
Telecommunications
Aerospace
Engineering