[R] substitute

Wladimir Eremeev wl at eimb.ru
Fri May 16 13:12:17 CEST 2003


Dear r-help,

  I have troubles with 'substitute'.
  I have the data frame with vectors data$area.0, data$area.20, etc...
  Command
  
  substitute(data$area.lon,list(lon=20))

  returns

  data$area.lon

  but is expected to return data$area.20

  Where did I do mistakes?
-- 
Best regards
Wladimir Eremeev                                     mailto:wl at eimb.ru

==========================================================================
Research Scientist                                Leninsky Prospect 33,
Space Monitoring & Ecoinformation Systems Sector, Moscow, Russia, 119071,
Institute of Ecology,                             Phone: (095) 135-9972;
Russian Academy of Sciences                       Fax: (095) 954-5534




More information about the R-help mailing list