Questions tagged [r-future]

Use this tag for questions specific to the future ecosystem in R - typically used for parallel and asynchronous processing. At the core of this ecosystem is Future API and the future package, which a larger set of packages then build upon.

94 questions
0
votes
0 answers

Internal function of R package not found when using foreach with checkpoint

This is a follow-up question of this question: How to set .libPaths (checkpoint) on workers when running parallel computation in R Based on the answer I put the following code (simplified example) into an R package called 'test1': #' @export f <-…
needRhelp
  • 2,948
  • 2
  • 24
  • 48
0
votes
0 answers

parallel processing in R hangs when not on mobile hotspot

I have the common issue with the R-package 'parallel' as seen here. The command cl <- future::makeClusterPSOCK(1, outfile = NULL, verbose = TRUE) hangs on the machine whenever I am logged onto a wifi connection. However, it works fine when I am…
0
votes
2 answers

Is rJava object is exportable in future(Package for Asynchronous computing in R)

I'm trying to speed up my R code using future package by using mutlicore plan on Linux. In future definition I'm creating a java object and trying to pass it to .jcall(), But I'm getting a null value for java object in future. Could anyone please…
Krishna Nevase
  • 95
  • 2
  • 5
  • 12
-1
votes
1 answer

Is a function like `purrr::map()` within `future.apply::future_apply()` also being ran in parallel?

Sorry if these are a dumb questions, but I know next to nothing about how parallel processing works in practice. My questions are: - Q1. Is a function like purrr::map() within future.apply::future_apply() also being ran in parallel? - Q2. What…
1 2 3 4 5 6
7