## Not run:
# runExample("linreg_parallel",thisR=TRUE) ## Create obj
# ben <- benchmark(obj,n=100,cores=1:4)
# plot(ben)
# ben <- benchmark(obj,n=10,cores=1:4,expr=expression(do.call("optim",obj)))
# plot(ben)
# ## End(Not run)
Run the code above in your browser using DataLab