I think you are looking for a macro facility. See defmacro in gtools which is based on Thomas Lumley's function of the same name whose article you can find in back issues of R News.
On Thu, Dec 10, 2009 at 11:00 AM, Keith Jones <keit...@keithljelp.com> wrote: > Y'all, > > I would like to have most of the variables in my function to be global > instead of local. I have not found any references that tell me now to do > that. If I have missed a reference please excuse me and tell me what I have > missed. > > Thanks, > > Keith Jones > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.