0

I have a data.frame which called dat, if there any function to get the name of this table (not the column names), the excepted output is "dat" which is a character.

velvetrock
  • 593
  • 1
  • 8
  • 18
  • u will get with **deparse** and **substitute** , ex: u have a data frame name "data1" : `deparse(substitue(data1))`. try the code and post in comments worked or not. – sai saran Oct 22 '18 at 06:46
  • also check the below link : https://stackoverflow.com/questions/45176431/extract-name-of-data-frame-in-r-as-character – sai saran Oct 22 '18 at 06:48

0 Answers0