[R] naming an operation inside a function

Spencer Graves spencer.graves at pdf.com
Tue Apr 8 17:11:12 CEST 2003


Functions can be defined within (i.e. local to) functions.  If you are 
more specific about what you did, it would be easier for others to help.

Spencer Graves

Dave Caccace wrote:
>  Thank you for you previous help :)
> 
> I now need ot know how i can name a specific operation
> inside a function. i am using the if(cond){}else{}
> construction and would like to name it. However if i
> do assign a name to it and then call it later onm in
> the function, it is not recognised. does any one have
> any idea why?
> Thank you,
> Dave
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help



More information about the R-help mailing list