[Blotter-commits] r1277 - pkg/quantstrat/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Dec 10 02:41:21 CET 2012


Author: opentrades
Date: 2012-12-10 02:41:21 +0100 (Mon, 10 Dec 2012)
New Revision: 1277

Modified:
   pkg/quantstrat/R/paramsets.R
Log:
set .maxcombine to nrows(pararm.combos), to specify number of combine arguments



Modified: pkg/quantstrat/R/paramsets.R
===================================================================
--- pkg/quantstrat/R/paramsets.R	2012-12-10 00:50:30 UTC (rev 1276)
+++ pkg/quantstrat/R/paramsets.R	2012-12-10 01:41:21 UTC (rev 1277)
@@ -399,7 +399,7 @@
     results <- foreach(param.combo=iter(param.combos,by='row'),
         .verbose=verbose, .errorhandling='pass',
         .packages='quantstrat',
-        .combine=combine, .multicombine=TRUE,
+        .combine=combine, .multicombine=TRUE, .maxcombine=nrow(param.combos),
         .export=c(env.functions, 'env.blotter', 'env.instrument', 'env.strategy', 'symbol.list', symbol.names)) %dopar%
     {
         print(param.combo)



More information about the Blotter-commits mailing list