Very slow optim(): solved
Calculate fewer of them? If you don't setup your code to save intermediate results, then you cannot see intermediate results.
On March 11, 2021 8:32:17 PM PST, "??? via R-help" <r-help at r-project.org> wrote:
Dear list, I am using optim() to estimate over 60 thousans of parameters, and use the server to run the program.But it took me 5 hours and there was just no result coming out.How could I do to show some results that have been calculated by optim()?
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Sent from my phone. Please excuse my brevity.