[R] How to take out the content of character string

jq81 jingqian81 at gmail.com
Wed Mar 10 07:46:41 CET 2010


My question is represented by the following example.

For example, I have a character string a, which is defined as

AA="list(x=1, y=2)"

I want to take out the content of AA by using some function, so that I can
obtain the following expression automatically.

list(x=1, y=2)

Does anyone know how to do it? Thanks a lot,








-- 
View this message in context: http://n4.nabble.com/How-to-take-out-the-content-of-character-string-tp1587004p1587004.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list