RE: [R] how R outputs?

2004-12-16 Thread Liaw, Andy
If R is run in interactive mode; i.e., interactive() == TRUE, whatever function calls that produced R objects gets printed (by calling the appropriate print() method; known as auto-printing), unless the object is returned invisibly (i.e., wrapped in invisible()). As an example, if you put

[R] how R outputs?

2004-12-15 Thread xudongyuan
Hi.All and R developers: When I look into the R source code, I have a question.Since R has its own data structure(i.e. SEXP),how does it convert the result to the normal output after it has computed? For example,when I input, abs(-3) I learned that in R's execution, the expression is