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.

______________________________________________
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