From p.dalgaard@kubism.ku.dk  Thu Oct 30 15:27:51 1997
From: p.dalgaard@kubism.ku.dk (Peter Dalgaard BSA)
Date: 30 Oct 1997 16:27:51 +0100
Subject: R-alpha: buglet in  return(invisible())  [R 0.50 and 0.60]
In-Reply-To: Luke Tierney's message of Thu, 30 Oct 1997 08:52:54 -0600 (CST)
References: <9710301452.AA04275@nokomis.stat.umn.edu>
Message-ID: <x2hg9zuv7s.fsf@blueberry.kubism.ku.dk>

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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


R-alpha: buglet in return(invisible()) [R 0.50 and 0.60]
Peter Dalgaard BSA