0

Is there a way to calculate a distance matrix in Windows using multiple threads? I found this link:

Parallel distance Matrix in R

but the bottom line was that Windows ignores the multiple threads option, and the fastest function was dist.matrix from the Wordspace package. Unfortuntately, it is unable to handle NA's like Stats::dist does, and dist becomes very slow for large matrices.

Omry Atia
  • 2,411
  • 2
  • 14
  • 27
  • 1
    Closing as a duplicate since any answer to this should be an answer to the duplicate. – Spacedman May 02 '18 at 07:33
  • This is not a duplicate since the Original that you are referring to (which I am citing) doesn't discuss the case of NA's which is the most important feature for me. – Omry Atia May 02 '18 at 07:37
  • The dupe asks to replicate `dist`, and `dist` works with NAs. If the accepted answer doesn't work with NAs you should comment on that there and then get a better answer. – Spacedman May 02 '18 at 08:11

0 Answers0