[R] Looking up the directory a file is located in
Cliff Clive
cliffclive at gmail.com
Thu Nov 18 16:26:05 CET 2010
So it sounds like the best we can do in R is to keep track of the script in a
sort of master file that runs the script, and set the working directory in
the master. Is that accurate?
In Python any time you run a script, there is a built-in "__file__" variable
that can tell you the file name of the script itself. It would be nice to
have a feature like this in R.
--
View this message in context: http://r.789695.n4.nabble.com/Looking-up-the-directory-a-file-is-located-in-tp3047649p3048916.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list