Skip to content
Back to formatted view

Raw Message

Message-ID: <1346159960450-4641559.post@n4.nabble.com>
Date: 2012-08-28T13:19:20Z
From: Rantony
Subject: Get variable data Reading from the list

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.