Yes. Thank you. This is what I wanted. Thanks !

 

From: jeff6868 [via R] [mailto:ml-node+s789695n4641563...@n4.nabble.com]

Sent: Tuesday, August 28, 2012 7:03 PM
To: Akkara, Antony (GE Energy, Non-GE)
Subject: Re: Get variable data Reading from the list

 

Hello, 

And this: 
get(MyList[[1]]) with [[ ]] instead of [ ] ? 

If you do for example: 
MyList <- list() 
MyList [length(MyList )+1]<- "MyVar" 
MyVar <- c(1:10) 
get(MyList[[1]]) 

It seems to do what you want 

________________________________

If you reply to this email, your message will be added to the discussion
below:

http://r.789695.n4.nabble.com/Get-variable-data-Reading-from-the-list-tp
4641559p4641563.html 

To unsubscribe from Get variable data Reading from the list, click here
<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscrib
e_by_code&node=4641559&code=YW50b255LmFra2FyYUBnZS5jb218NDY0MTU1OXwxNTUx
OTQzMDI5> .
NAML
<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_view
er&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.Bas
icNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.tem
plate.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml
-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemai
l.naml>  





--
View this message in context: 
http://r.789695.n4.nabble.com/Get-variable-data-Reading-from-the-list-tp4641559p4641564.html
Sent from the R help mailing list archive at Nabble.com.
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to