Get the current directory where script runs - R programming [closed]
Possible Duplicate:
Rscript: Determine path of the executing script
How to get the script path in R?
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?
