Displaying 1 result from an estimated 1 matches for "optdft".
Did you mean:
optdata
2011 May 27
0
object not found with %dopar% when using foreach
...%dopar%.
I always receive one of the following error messages:
error in { : task 1 failed - "Objekt 'S3' not found" - could the
.export be an solution for this??
Any help is much appreciated!
The Code hast the following structure:
##########
dft3 = function (...) {
...
}
optDFT = function (...)
...
for (sit in 1:n.sit){
S3 = ...
pDFT3 = ... dft3(..)
}
return(LL.DFT)
}
foreach(k=1:n.run) %dopar% {
for (j in 1:n.subj) {
...
valuesDFT = nlminb(start=..., objective = optDFT)
}
}
--
____________
lic...