Skip to content
Discussion options

You must be logged in to vote

Hi, here's a minimal reproducible example of the problem:

library(future)
plan(multisession)

suppressPackageStartupMessages({
  library(bit64)
})

f <- future({
  any.integer64(2)
})

Calling:

v <- value(f)

, which I think is what myTask$result() calls internally, will relay the packageStartupMessage that was generated on the parallel worker.

To prevent packageStartupMessage conditions from being relayed back to the main R session, we can tell the future to not collect such conditions in the first place;

library(future)
plan(multisession)

suppressPackageStartupMessages({
  library(bit64)
})

f <- future({
  any.integer64(2)
}, conditions = structure("condition", exclude = "packageStartup…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ismirsehregal
Comment options

@HenrikBengtsson
Comment options

@ismirsehregal
Comment options

Answer selected by ismirsehregal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants