[Blotter-commits] r949 - in pkg/FinancialInstrument: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Feb 29 15:31:10 CET 2012


Author: gsee
Date: 2012-02-29 15:31:10 +0100 (Wed, 29 Feb 2012)
New Revision: 949

Modified:
   pkg/FinancialInstrument/DESCRIPTION
   pkg/FinancialInstrument/R/instrument.table.R
Log:
 - do not unlist instrument in instrument.table to get names; simply use names
 - bump version to 0.12.1

Modified: pkg/FinancialInstrument/DESCRIPTION
===================================================================
--- pkg/FinancialInstrument/DESCRIPTION	2012-02-29 14:29:36 UTC (rev 948)
+++ pkg/FinancialInstrument/DESCRIPTION	2012-02-29 14:31:10 UTC (rev 949)
@@ -11,7 +11,7 @@
     meta-data and relationships. Provides support for
     multi-asset class and multi-currency portfolios. Still
     in heavy development.
-Version: 0.12.0
+Version: 0.12.1
 URL: https://r-forge.r-project.org/projects/blotter/
 Date: $Date$
 Depends:

Modified: pkg/FinancialInstrument/R/instrument.table.R
===================================================================
--- pkg/FinancialInstrument/R/instrument.table.R	2012-02-29 14:29:36 UTC (rev 948)
+++ pkg/FinancialInstrument/R/instrument.table.R	2012-02-29 14:31:10 UTC (rev 949)
@@ -51,7 +51,7 @@
         instr <- try(getInstrument(symbol,silent=TRUE),silent=TRUE)            
         if (!inherits(instr,'try-error') 
                 && inherits(instr, 'instrument') ) {
-            attr.names <- unique(c(attr.names, names(unlist(instr))))               
+            attr.names <- unique(c(attr.names, names(instr)))               
         }
     }
     if (length(exclude) > 1) 



More information about the Blotter-commits mailing list