[R] Object name and Strings?
scruveil at genoscope.cns.fr
Tue Jul 18 11:12:43 CEST 2006
Thanks for your answer.
Here is what I am trying to do.
I have a list which is called MyList. I would like to get only the "name"
of this object as a simple characters string. i.e. Is there a function
in R which is able
thanks in advance,
Prof Brian Ripley a écrit :
> On Tue, 18 Jul 2006, Stéphane Cruveiller wrote:
>> Hi all,
>> Is there a simple way to convert an object name to a characters string?
> Yes, as.character, as in
>> x <- as.name("foo")
>  "foo"
> However, I suspect you are not using the words in their technical sense
> (a name is a synonym for a symbol in R), so if this is not the answer,
> please give us an example of what you are trying to do (which might be
More information about the R-help