showTree: Print Lisp-Style Representation of R Expression

Description Usage Arguments Author(s) Examples

View source: R/codetools.R

Description

Prints a Lisp-style representation of R expression. This can be useful for understanding how some things are parsed.

Usage

1

Arguments

e

R expression.

write

function of one argument to write the result.

Author(s)

Luke Tierney

Examples

1
2
3
showTree(quote(-3))
showTree(quote("x"<-1))
showTree(quote("f"(x)))

codetools documentation built on May 19, 2017, 7:52 p.m.

Search within the codetools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.