Skip to main content
Apress

Metaprogramming in R

Advanced Statistical Programming for Data Science, Analysis and Finance

  • Book
  • © 2017

Overview

  • Shows you how to manipulate the structures of the R language
  • Demonstrates applications in big data, data science/analytics, finance and analysis with statistical programming
  • Broadens your understanding of functions and expressions in R

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (5 chapters)

Keywords

About this book

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.

Authors and Affiliations

  • Aarhus N, Denmark

    Thomas Mailund

About the author

Thomas Mailund is an associate professor in bioinformatics at Aarhus University, Denmark. He has a background in math and computer science.  For the last decade, his main focus has been on genetics and evolutionary studies, particularly comparative genomics, speciation, and gene flow between emerging species.  He has published Beginning Data Science in R and Functional Programming in R with Apress as well as other books out there.  

Bibliographic Information

Publish with us