Displaying 1 result from an estimated 1 matches for "accessmytable".
2011 Jun 15
2
Escape sequence in eval ()
...n access my data frame via
   TABLE$"2011-01-02"$columnD
   Now I want to do this automatically.. (with a for loop)..
   a <- TABLE
   b <- " \"2011-01-02\" "
   c <- "columnD"
   acessmytable <- paste(a,b,c, sep="$")
   parse(text="accessmytable")
   eval(accessmytable)
   It will return
   [1] "TABLE$\"2011-01-02\"$close"
   but I need
   TABLE$"2011-01-02"$close
   I highly appreciate your help!
   Sincerely,
   Franc
   BS Student, University of Mannheim
   Schon geh?rt? WEB.DE hat einen genialen Phis...