diff options
Diffstat (limited to 'R/creditIndex.R')
| -rw-r--r-- | R/creditIndex.R | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/R/creditIndex.R b/R/creditIndex.R index 68986e81..3788b2a2 100644 --- a/R/creditIndex.R +++ b/R/creditIndex.R @@ -1,7 +1,7 @@ -root.dir <- if(.Platform$OS.type == "unix"){ - "/home/share/CorpCDOs" +root.dir <- if(Sys.getenv("DATA_DIR") == ""){ + "/home/serenitas/CorpCDOs" }else{ - "//WDSENTINEL/share/CorpCDOs" + file.path(Sys.getenv("DATA_DIR"), "..") } library(lossdistrib) |
