Displaying 1 result from an estimated 1 matches for "mywd".
Did you mean:
myd
2013 Jun 11
0
How to "source" a R script in a parent/parallel directory (win/linux)
...n icon, and do not want to bother
with many details.
Consider the following situation, in where I have to run the very same
script under Linux (for debugging) and under windows (for the users)
On Win
C:\\mypath\\user1
On my Linux box the same path is a samba share mounted on
/mnt/mymountpt/user1/mywd
The file I would like to run (say, RunThis.R) with a "source" command
will be located at
C:\\mypath\\PROGRAM
/mnt/mymountpt/mypath/PROGRAM
This location will never change, while "user1" will change each time,
depending on the user or on the data to be processed. In other word...