search for: set_special_symbol

Displaying 1 result from an estimated 1 matches for "set_special_symbol".

2014 Jan 03
2
class() on substitute(...) output?
Does it make sense to talk about the class of the output of substitute(...)? I'm puzzled by the following outputs: ee <- list( A = substitute( a <- 1 ), B = substitute({ a <- 1 }), C = substitute(( a <- 1 )), D = substitute( a == 1 ) ) > t(sapply(ee, FUN=function(e) { c(typeof=typeof(e), mode=mode(e), class=class(e)) })) typeof mode class A