Malte Thodberg

Results 10 comments of Malte Thodberg

Yes, the same applies for the is.element function.

Fails here means an error is raised, and a rather cryptic one relating to the parallel processing. When calling import with the which argument, it will produce a warning if...

Sure, continuing from the example in the first post: ``` > bplapply(bw_plus, import, which=grl[[1]]) Error in result[[njob]] sessionInfo() R version 3.6.2 (2019-12-12) Platform: x86_64-apple-darwin19.2.0 (64-bit) Running under: macOS Catalina 10.15.2...

Ah, the plot thickens then! It seems bplapply fails specifically when run with MultiCoreParam AND the which argument is used with import. Here's another example (reusing files from the original...

And some more testing: Both of these work: ``` x7

Still gives an error message in the terminal:

Still raises an error: ``` maltethodberg@ip164-91:~/Desktop$ R --vanilla -f test.R R version 3.6.2 (2019-12-12) -- "Dark and Stormy Night" Copyright (C) 2019 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin19.2.0...

Super cool - speed is not an issue for me in this case, so this is a very elegant solution. Is there a similar way to obtain the input data...

Resurrecting this, since I have a very similar problem with CCA! based on @jarioksa's excellent response above, this is what I ended up using: ``` object