Displaying 1 result from an estimated 1 matches for "mcvrfnm".
2012 Feb 18
3
foreach %do% and %dopar%
...nnects to several other
scripts (8), each about 300-500 lines long.
#pathglobal is a string variable pointing to the working directory, ej.
~/Documents/Valuation/
MCVRERM[simx] <- sum(CIFERRN) #This is my response variable 1
MCVRWKM[simx] <- WKMTWKZ[12] #This is my response variable 2
MCVRFNM[simx] <- sum(FNMSDE) #This is my response variable 3
#The response variables come from another script which is call within
Valuation.R
}
As I said, the above code works flawlessly with %do%, but it takes about 1
hour just to run 2,000 simulations, so I want to make use of all the 8
cores of my...