内容提要:
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.
ISBN:1484228804
年份:2017
总页数:103
语言:English
文件大小:0.8 MB
文件格式:PDF
下载:关注本站公众号(右侧二维码),在 个性化-联系客服 中输入本文链接可获取文件下载链接。