Get the current directory where script runs - R programming [closed]
I am trying to get the absolute path from where my script runs. i.e. if my script resides at
/usr/path/to/script/, it should return me the same path.
getwd() does not help me achieve that.
Can anyone please point me to any function/resources?