R substitute on expression with assignment

Posted by user275455 on Stack Overflow See other posts from Stack Overflow or by user275455
Published on 2010-04-28T17:26:32Z Indexed on 2010/04/28 21:07 UTC
Read the original article Hit count: 154

Filed under:

Why do these two cases behave differently?

substitute(c1<-100,list(c1=100)) 100 <- 100

vs

substitute(c1=100,list(c1=100)) [1] 100

© Stack Overflow or respective owner

Related posts about r