Error in summary.connection(connection) : invalid connection
I got this error because of an issue with the parallel computing back-end for foreach/dopar. You may have some parallel computing going on in the background that is not getting cleaned up fully between runs. The easiest way I have found to fix it is to call this function: This function is from Steve Weston’s … Read more