[Blotter-commits] r579 - pkg/FinancialInstrument/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Mar 15 19:28:52 CET 2011


Author: braverock
Date: 2011-03-15 19:28:52 +0100 (Tue, 15 Mar 2011)
New Revision: 579

Modified:
   pkg/FinancialInstrument/R/load.instruments.R
Log:
- add else clause

Modified: pkg/FinancialInstrument/R/load.instruments.R
===================================================================
--- pkg/FinancialInstrument/R/load.instruments.R	2011-03-15 18:16:37 UTC (rev 578)
+++ pkg/FinancialInstrument/R/load.instruments.R	2011-03-15 18:28:52 UTC (rev 579)
@@ -181,6 +181,8 @@
                     instr_str<-make.names(tmp_instr[[use_identifier]])
                     if(!is.null(instr_str)) instr<-instr_str
                 }                
+            } else {
+                instr_str <- instr
             }
         }
         symbol<-list()



More information about the Blotter-commits mailing list