[Rd] quote() vs quote(expr=)

Hadley Wickham h.wickham at gmail.com
Mon Feb 18 16:20:51 CET 2013


Hi all,

I think there's a small buglet in quote:

str(quote())
# Error in quote() : 0 arguments passed to 'quote' which requires 1
str(quote(expr = ))
# symbol

I bring this up because this seems like the most natural way of
capturing the "missing" symbol with pure R code, compared to
substitute() or bquote() or formals(plot)$x

Hadley

-- 
Chief Scientist, RStudio
http://had.co.nz/



More information about the R-devel mailing list