[R] Get variable data Reading from the list

jeff6868 geoffrey_klein at etu.u-bourgogne.fr
Tue Aug 28 15:32:26 CEST 2012


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



--
View this message in context: http://r.789695.n4.nabble.com/Get-variable-data-Reading-from-the-list-tp4641559p4641563.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list