[R] coercion to an object...

akshay kulkarni @k@h@y_e4 @end|ng |rom hotm@||@com
Sun Aug 29 13:22:23 CEST 2021

Dear members,
                             I think the following question is rudimentary, but I couldn't find an answer in the Internet.

Suppose there is an object A, and ls() lists it as "A". How do you convert this character object to the object A. i.e I want a function f such that class(f("A")) = class(A) (of course, class("A") = "character") . f should just coerce the character to the object represented by it.

Thank you,
Yours sincerely,

	[[alternative HTML version deleted]]

More information about the R-help mailing list