[R-SIG-Finance] need apply.paramset logging

Diego Peroni diegoperoni at vodafone.it
Tue Mar 22 09:37:26 CET 2016


Hi all,

I'm testing paramset combinations with:

.....
library(doMC)
registerDoMC(cores=detectCores())
paramsetenv = new.env()
results = apply.paramset(qs.strategy, paramset.label = "MACDOPT", 
verbose = TRUE,
                          portfolio=qs.strategy, account=qs.strategy, 
nsamples=0, audit=paramsetenv)

but the procedure returns NULL object with this message:

error calling combine function:
<simpleError: $ operator is invalid for atomic vectors>

Is there a way to log threads errors?

Or how can I modify "apply.paramset" function to "catch" single 
simultation error or void result and discard it?


Thanks in advance

Diego


	[[alternative HTML version deleted]]



More information about the R-SIG-Finance mailing list