[R] Finding the name ob an object

Giovanni Petris GPetris at uark.edu
Mon Nov 10 17:17:08 CET 2003


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 <christoph.lange at tuebingen.mpg.de>
> Sender: r-help-bounces at stat.math.ethz.ch
> Mail-followup-to: R Help List <r-help at stat.math.ethz.ch>
> 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|
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> 
> 

-- 

 __________________________________________________
[                                                  ]
[ Giovanni Petris                 GPetris at uark.edu ]
[ Department of Mathematical Sciences              ]
[ University of Arkansas - Fayetteville, AR 72701  ]
[ Ph: (479) 575-6324, 575-8630 (fax)               ]
[ http://definetti.uark.edu/~gpetris/              ]
[__________________________________________________]




More information about the R-help mailing list