Metaprogramming in R: Advanced Statistical Programming for Data Science,Analysis and Finance
by: Thomas Mailund
ISBN-10: 1484228804
ISBN-13: 9781484228807
Edition 版次: 1st ed.
Publication Date 出版日期: 2017-06-30
Print Length 页数: 103
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.
Contents
Chapter 1: Anatomy of a Function
Chapter 2: Inside a Function Call
Chapter 3: Expressions and Environments
Chapter 4: Manipulating Expressions
Chapter 5: Working with Substitutions
了解如何操作函数和表达式来修改R语言如何解释本身。本书是R语言中的元编程介绍,因此您将编写程序来操纵其他程序。 R中的元编程显示如何将代码视为可以生成,分析或修改的数据。
R是一种非常高级的语言,其中所有操作都是函数,所有函数都是可以被操纵的数据。本书向您展示了如何利用R的自然灵活性来评估函数调用和表达式,创建小的域特定语言来扩展R语言本身。
你会学到什么
了解R中函数的解剖结构
看一下函数调用
使用R表达式和环境
在R中操纵表达式
使用替代
这本书是谁
那些至少有一些R经验的人,当然也是有其他编程语言经验的人。
目录
第1章: 功能解剖学
第2章: 函数调用中
第3章: 表达和环境
第4章: 操纵表达式
第五章: 替代
Metaprogramming in R: Advanced Statistical Programming for Data Science,Analysis and Finance
未经允许不得转载:finelybook » Metaprogramming in R: Advanced Statistical Programming for Data Science,Analysis and Finance
相关推荐
- 暂无文章