Skip to main content
0 votes
0 answers
58 views

I'm calling a foreach loop, with doParallel backend, from within a script. For each core I receive the message 'package ... loaded and set parent environment', which fills the output console. I see ...
pglpm's user avatar
  • 714
1 vote
2 answers
273 views

I am currently making a Shiny app which computes a correlation matrix via the function denoted f()in the example below from an input dataset. Because it takes quite some time, I would like to display ...
etomilina's user avatar
0 votes
1 answer
361 views

I am interested in estimating a Poisson fixed effects model with: where is the "age" of the observation. I am interested in the coefficients, not the other fixed effects. My first ...
cfp's user avatar
  • 208
0 votes
1 answer
64 views

I have issues with mcmapply that only occures if an Rcpp-function, testfun(), is first called outside mcmapply and then called through mcmapply. The issue only exists if: testfun() uses openMP ...
sheß's user avatar
  • 525
4 votes
0 answers
99 views

I am working with a function that starts with parallel::makeCluster() and ends with parallel::stopCluster(). Sometimes it crashes in the middle and does not stop the cluster. Demonstration code: ...
bluemouse's user avatar
  • 512
0 votes
1 answer
107 views

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
0 answers
122 views

I have a large object (~50GB) that I wish to break into roughly 10 non-disjoint subsets to perform analysis on concurrently. The issue is that I have had numerous bad experiences with parallelism in R ...
shians's user avatar
  • 987
0 votes
1 answer
151 views

Here is a minimal example showing the issue: mod.r: #' @export run_sqrt <- function (x) { sqrt(x) } mwe.r box::use( ./mod[...], parallel, dp = doParallel, foreach[foreach, `%dopar%`], ) ...
Ferroao's user avatar
  • 3,148
1 vote
1 answer
788 views

All of the code included in this question is from the script called "LASSO code (Version for Antony)" in my GitHub Repo for this project. And you can run it on the file folder called "...
Marlen's user avatar
  • 173
1 vote
1 answer
487 views

Is it more efficient to pass objects to parallel::parLapply and parallel::parLapplyLB as function arguments or to export them with parallel::clusterExport? I.e. parallel::parLapply(cl, 1:1000, ...
user's user avatar
  • 1,150
1 vote
1 answer
95 views

I have a simple example of foreach nested loop below. How can I improve the readability of the result res? Below is another example of nested for loop with more readable results, each element of list ...
SiH's user avatar
  • 1,596
1 vote
1 answer
455 views

I am getting in using foreach. Can someone please explain the reason. Error in UseMethod("filter") : no applicable method for 'filter' applied to an object of class "list" ...
SiH's user avatar
  • 1,596
0 votes
1 answer
114 views

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
3 votes
1 answer
655 views

It is difficult to debug the error code of mclapply because all values of a job are affected. I prepared a simple example. library(parallel) library(dplyr) data(iris) ## Parallel Version parFun <-...
Peter Pisher's user avatar
0 votes
1 answer
462 views

On my (large) server (Windows with 255GB RAM) my optimparallel skript is running out of memory and then crashes with Error in serialize(data, node$con) : error writing to connection. While I would ...
Puki Luki's user avatar
  • 583

15 30 50 per page
1
2 3 4 5 6