search for: mc_1st_obs2

Displaying 1 result from an estimated 1 matches for "mc_1st_obs2".

2010 Dec 02
1
parLapply - Error in do.call("fun", lapply(args, enquote)) : could not find function "fun"
...39;m trying to do is to apply the same function I crafted to all the items in the list with parLapply. I'm using this instead of apply since it allows me to test using parallel running R, and because it runs faster than lapply. M_set <- parLapply(cl,setin,M.set.find,month=month,n1=n1,n2=n2,MC_1st_obs2=MC_1st_obs2) using this it gives me the follow error: Error in do.call("fun", lapply(args, enquote)) : could not find function "fun" but, this works correctly when I just use lapply (it's just a bit slower than I need it to be). Also, I know that the clusterCall functi...