I have 2 workstations with different processors, both on Windows 10 Pro. I want to create cluster on both computers.
primary <- '220.168.1.10'
machineAddresses <- list(list(host=primary, ncore=maxThreads), list(host='220.168.1.11', ncore=maxThreads));
spec <- lapply(machineAddresses,
function(machine)
{
rep(list(list(host=machine$host, user=machine$user)), machine$ncore)
})
spec <- unlist(spec,recursive=FALSE)
internalCluster <- makeCluster(type='PSOCK', master=primary, spec=spec, homogeneous=FALSE);
But code execution holds on the last string of this code. I use this source: http://www.win-vector.com/blog/2016/01/running-r-jobs-quickly-on-many-machines/ So, what does it need to do for running cluster on different machines?
Thank you.