[R] Finding the name ob an object
Simon Fear
Simon.Fear at synequanon.com
Mon Nov 10 17:14:27 CET 2003
You probably want
deparse(substitute(object))
See ?substitute.
> -----Original Message-----
> From: Christoph Lange [mailto:christoph.lange at tuebingen.mpg.de]
> Sent: 10 November 2003 16:06
> To: R Help List
> Subject: [R] Finding the name ob an object
>
>
> Security Warning:
> If you are not sure an attachment is safe to open please contact
> Andy on x234. There are 0 attachments with this message.
> ________________________________________________________________
>
>
> 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
>
Simon Fear
Senior Statistician
Syne qua non Ltd
Tel: +44 (0) 1379 644449
Fax: +44 (0) 1379 644445
email: Simon.Fear at synequanon.com
web: http://www.synequanon.com
Number of attachments included with this message: 0
This message (and any associated files) is confidential and\...{{dropped}}
More information about the R-help
mailing list