Wishlist-for-R icon indicating copy to clipboard operation
Wishlist-for-R copied to clipboard

Named object and variables -- not only object parts

Open Madpentiste opened this issue 5 years ago • 0 comments

Like several other languages, it would be nice if objects had a name attribute -- their parts sometimes have names, retrieved with names(), but there is no such thing as name(object/variable) to retrieve the variable/symbol/object name as a string. There is currently no simple workaround, since quote() or substitute() will not return strings and have environment-dependant behaviour.

Madpentiste avatar Nov 24 '20 13:11 Madpentiste