Thomas Lumley 7/30/2018

Quoting and macros in R

Read Original

This technical article delves into metaprogramming in R, specifically focusing on quoting, quasiquotation, and the concept of macros. It compares the base-R approach using functions like `substitute()` and `bquote()` with the tidyverse (rlang) methodology, explaining how to manipulate unevaluated expressions and promises for advanced programming techniques.

Quoting and macros in R

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
3
LLM Use in the Python Source Code
Miguel Grinberg 1 votes
4
Wagon’s algorithm in Python
John D. Cook 1 votes