[R] Get variable data Reading from the list
Rantony
antony.akkara at ge.com
Tue Aug 28 15:19:20 CEST 2012
Here i have a variable
MyVar <- data.frame(read.csv("D:\\Doc.csv"))
And now i am storing this variable name into a list.
MyList <- list()
MyList [length(MyList )+1]<- "MyVar"
Now what is the requirement is,
i need to call the variable name "MyVar" from the list "MyList " and get
the data.
------------------------------------------------------------------------------------------------------------------------
i tried with get(MyList [1]). - it not work-out.
Can you please help me ?
- Thanks in advance
Antony.
--
View this message in context: http://r.789695.n4.nabble.com/Get-variable-data-Reading-from-the-list-tp4641559.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list