[R] Putting an object in to a function that calls the current function
ggrothendieck at gmail.com
Wed Jan 4 15:21:45 CET 2006
On 1/4/06, Ales Ziberna <aleszib at gmail.com> wrote:
> I would like to put an object in to a function that calls the current
> I thought the answer will be clear to me after reading the help files:
> However it is not.
> Here is an example I thought should work, however it dose not exactly:
> f() #I want to get "ok"
> a #I do not want "a" in global enviorment, so here I should get
> #Error: Object "a" not found
> ff<-function()f() #here I also want to get "ok" - it should not matter if
> the parent fuction has any parents
> Thank you in advance for suggestions!
> Ales Ziberna
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
More information about the R-help