Displaying 1 result from an estimated 1 matches for "cdata2".
Did you mean:
data2
2011 Feb 01
1
using SNOW and clusterApplyLB to run jobs parallel
I have this function and want to run it parallel with different sets of data.
Using SNOW and clusterApplyLB.
system.time(out <- mclapply(cData, plotGraph)) #each cData contains 100X6000
doubles
system.time(out <- mclapply(cData2, plotGraph))
system.time(out <- mclapply(cData3, plotGraph))
system.time(out <- mclapply(cData4, plotGraph))
system.time(out <- mclapply(cData5, plotGraph))
system.time(out <- mclapply(cData6, plotGraph))
plotGraph() <- function(cData)
{
cl = unname(cor(cData))
result = cbind(as.ve...