Hi,
i have a function:
zz<- (constrOptim(c(.5,0), fr, grr, ui=rbind(c(-1,0),c(1,-1)), ci=c(-0.9,0.1)))
i can get the result by using command (for example):  zz$par

now if i can use multicore:
zz<-parallel(constrOptim(c(.5,0), fr, grr, ui=rbind(c(-1,0),c(1,-1)),
ci=c(-0.9,0.1)))
result < collect(zz)

i cant get my the result: result$par because multicore add process id.
for example:
$`2493`$par
[1] 0.8891335 0.7891335

i try to get the result by:  result$`processID(zz)`$par
but it return NULL.

so any idea how to get the result?

with best regards,
-- 
-dikshie-

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to