4 ms·
My first answer was correct, although i'll admit to having run the snippet afterwards as I figured there was some trick in there that I couldn't see.
by jghn 12y ago
My first answer was correct, although i'll admit to having run the snippet afterwards as I figured there was some trick in there that I couldn't see.
- johnmyleswhite 12y agoI didn't mean to imply I thought you would guess the wrong answer, but rather that most R users do not understand delayed evaluation well enough to understand how it will impact their code. Sorry if my comment seemed rude.
- jghn 12y agoI didn't find it rude, I just have trouble seeing it as a snippet which would really cause confusion. If you have seen people get confused by it though, I suppose it is.