Displaying 1 result from an estimated 1 matches for "projectstart".
Did you mean:
projectstart2
2012 Sep 27
1
Is there a way to source from a specific Git repository without hardcoding the location everywhere?
...ons,
but I have not been able to figure out how this helps without hardcoding
the location in some manner.
One option is for each repository to have an untracked file which sets the
local working directory before sourcing another file that actually sources
the function definitions. This file (projectStart.r below) would be read
into the R session prior to use, at least during development.
projectStart.r # untracked
setwd("c:\yada\") # or setwd("L:\foo\bar\sharedRemote\wet\")
-- this is the only difference among repository locations.
source(&q...