Displaying 1 result from an estimated 1 matches for "msg111871".
Did you mean:
msg01187
2010 Nov 17
2
Looking up the directory a file is located in
Hello everyone,
This should be an easy question, I think.
I'd like to write a command in a program to set the working directory to
whatever directory the file is currently stored in. Suppose I have a file
called "myRscript.r", and it's stored in "C:\Rprojects\myRscript.r", and it
references other R scripts and data files in the same directory.
If I enter the