R-alpha: buglet in return(invisible()) [R 0.50 and 0.60]
Peter Dalgaard BSA
p.dalgaard@kubism.ku.dk
30 Oct 1997 16:27:51 +0100
Luke Tierney <luke@stat.umn.edu> writes:
> Other languages take a different approach -- they allow a function
> used for side effects to return no values, so there is nothing to
> print -- this covers most though not all cases where invisible() is
> used now.
If you think in terms of functionality as opposed to actually calling
invisible(), a rather notorious exception would be "<-". It's a
primitive, not a function, but it returns the evaluated right hand
side without printing it.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=