Look at the first lines of plot.default for an example of how to extract the name of an argument.
HTH, Giovanni > Date: Mon, 10 Nov 2003 17:06:17 +0100 > From: Christoph Lange <[EMAIL PROTECTED]> > Sender: [EMAIL PROTECTED] > Mail-followup-to: R Help List <[EMAIL PROTECTED]> > Precedence: list > User-Agent: Mutt/1.4.1i-nntp > > > Hi, all! > > I want to give an object to a function and use the NAME of this object > inside the function to build new objects based on this name. > > How do I get the name of an object if I don't pass a string containing > the name but the object itself? > > Christoph. > > -- > Christoph Lange > MPI fuer biologische Kybernetik |Phone: +49-7071-601-607| > Postfach 2169, D-72012 Tuebingen |FAX: +49-7071-601-616| > > ______________________________________________ > [EMAIL PROTECTED] mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > > -- __________________________________________________ [ ] [ Giovanni Petris [EMAIL PROTECTED] ] [ Department of Mathematical Sciences ] [ University of Arkansas - Fayetteville, AR 72701 ] [ Ph: (479) 575-6324, 575-8630 (fax) ] [ http://definetti.uark.edu/~gpetris/ ] [__________________________________________________] ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help