search for: anscomc

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

Did you mean: anscomb
2008 Dec 09
1
no implicit call of the print function within loops?
Dear R-users, I wonder why some functions produce output when they are called (I suppose due to an implicit call of the print function) but within a loop they do not: attach(anscomce) exp <- parse(text= "lm(x1 ~ y1)") eval(exp) Here the print() function seems to be called implicitly. If I do the same within a for-loop, it is not. for (i in c(1)){ eval(exp) } I know that I have to wrap it into a print function so it would work. But why is that so? In the eva...