Displaying 1 result from an estimated 1 matches for "ipredictmatrix".
Did you mean:
predictmatrix
2016 Apr 13
0
could not find function in mempry inside foreach loop
I'm trying to use foreach function to do multicore computing in R.
A <-function(....) {
foreach(i=1:10) %dopar% {
B()
}}
then I call function A in the console. The problem is I'm calling a
function ipredictMatrix inside B that is defined in another script file
which I source.However I get the following error:
Error in FUN(train_adjmt, iter = missedmat[i, 1], iter2 = missedmat[i, :
task 1 failed - "?????'predictMatrix'"
Then I tried to put predictMatrix in the list of export argument...