diff options
Diffstat (limited to 'R/intex_deal_functions.R')
| -rw-r--r-- | R/intex_deal_functions.R | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/R/intex_deal_functions.R b/R/intex_deal_functions.R index 306ebc0e..d7288720 100644 --- a/R/intex_deal_functions.R +++ b/R/intex_deal_functions.R @@ -1,7 +1,12 @@ library(RQuantLib)
library(statmod)
library(hash)
-root.dir <- "//WDSENTINEL/share/CorpCDOs/"
+
+if(.Platform$OS.type == "unix"){
+ root.dir <- "/home/share/CorpCDOs/"
+}else{
+ root.dir <- "//WDSENTINEL/share/CorpCDOs/"
+}
source(file.path(root.dir, "code", "R", "yieldCurve.R"))
source(file.path(root.dir, "code", "R", "cds_functions_generic.R"))
source(file.path(root.dir, "code", "R", "etdb.R"))
|
