Hi all,
I would like to turn some long strings like MyString$Myfield$MySubfield into variables but it looks like that the get does not like lists



so for example:

 test<-list(a=2) 

test 
>$a 
[1] 2 


get("test") 
>$a 
[1] 2 


get("test$a") 
>Fehler in get("test$a") : Objekt 'test$a' nicht gefunden 

lapply(test,function(x) return (x$a)) 
>Fehler in x$a : $ operator is invalid for atomic vectors 

What should I do to read those lists I have as strings?

I would like to thank you in advance for your reply

regards
A

	[[alternative HTML version deleted]]

