I have a large number of datasets which run in the following way
f1 <-list(sample(5),
sample(4),
sample(2))
f2 <-list(sample(5),
sample(4),
sample(2))
func=function(x,y){
z=2*x+y
return(z)
}
parallel::mcmapply(function(x,y){
return(func(x,y))
}, x = f1, y = f2, mc.cores=1)
I am wondering how can I see the progeress of work.