Check out: http://finzi.psych.upenn.edu/R/Rhelp02a/archive/38536.html
On 10/5/05, Paul Baer <baer at stanford.edu> wrote:
Is it possible to write functions in such a way that, rather than having to write "a=function(a)", one can just write "function(a)" and have the variable passed as the argument be modified? My real interest here is being able to invoke the editor by writing "ed(filename)" rather than filename=edit(filename). Thanks, --Paul
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html