[R] hide body of function

victor m mi_victor at yahoo.com
Fri Mar 30 04:53:11 CEST 2001


I would like to hide the body of function, when the
user types the name of that function. 
For example, I've created "ff" function (cut/paste 
from R-plus session):
> ff<-function() {
a <- 5
}
#then, if the user types "ff"
> ff
function()           # This part is shown but I'd like
#  this body to be
#  hidden from the user, if possible.
{                        #
   a <- 5                #
}                        #
>

#Thanks.
Victor


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/?.refer=text
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list