Skip to main content

All Questions

Tagged with
0 votes
1 answer
67 views

Error in parallel calculation on R function

I am mastering parallel programming in R simple examples tried to implement the function given in the code, it loads the processor, but the results of calculations are not. Could you please tell me ...
n_nikitin's user avatar
0 votes
1 answer
95 views

R: Compare each element with all the other elements below in a list using foreach, parallel and doParallel

Aim: I'm trying to compare each element in a list with all the other elements below it using Levenshtein distance from this package stringsim to find text that is similar. Obstacle: The problem is ...
Mohamed Mostafa El-Sayyad's user avatar
2 votes
0 answers
229 views

Controlling the number of CPUs used by registerDoParallel

I have recently inherited a legacy R script that at some point trains a gradient boost model with a large regression matrix. This task is parallelised using the doParallel::registerDoParallel function....
Luís de Sousa's user avatar
-3 votes
1 answer
819 views

Running parallel R on multiple hosts [closed]

Can you please provide a script to run parallel cluster on 2 hosts ( amazon ec2) from scratch on Ubuntu Linux Machine ? Specifications The hosts are connected from local machine via identity key ...
niths4u's user avatar
  • 440
19 votes
3 answers
8k views

doParallel, cluster vs cores

What is the difference between cluster and cores in registerDoParallel when using doParallel package? Is my understanding correct that on single machine these are interchangeable and I will get same ...
Tomas Greif's user avatar
  • 22.3k