showTree: Print Lisp-Style Representation of R Expression

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)))

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

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