Research output: Book/anthology/dissertation/report › Book › Education

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

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

Original language | English |
---|

Publisher | Apress |
---|---|

Number of pages | 103 |

ISBN (Print) | 978-1484228807, 1484228804, 1484228812, 9781484228814 |

State | Published - 2017 |

See relations at Aarhus University Citationformats

ID: 115667935