I am running this in a cluster,

I am trying to calculate this in a cluster,
cdata = replicate(2000,rnorm(6))
c1 = cor(cdata)


m1 = as.matrix(cdata)
cl = makeCluster(64)
out = clusterApplyLB(cl,m1,cor)
Error in checkForRemoteErrors(val) : 
  12000 nodes produced errors; first error: supply both 'x' and 'y' or a
matrix-like 'x'

Is these arguments fine??
clusterApplyLB(cl,m1,cor)




-- 
View this message in context: 
http://r.789695.n4.nabble.com/Help-Error-in-clusterApplyLB-tp3246423p3246423.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
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