Re: [Bioc-devel] BiocParallel load balancing and runtime

2023-08-08 Thread Jiefei Wang
Hello Anna, The speed of parallel computing depends on many factors. To avoid any potential confounders, Please try to use this code for timing (assuming you still have all the variables you used in your example) ``` parallel_param <- SnowParam(workers = ncores, type = "SOCK", tasks =

Re: [Bioc-devel] Problems with BiocParallel on Windows

2021-10-25 Thread Jiefei Wang
t; somehow it still fails and says it doesn't find the function > "mandatory_is_vars()" which is a function exported by the package > > > > On 10/25/21, 13:49, "Jiefei Wang" wrote: > > > > What do you mean by "exported funct

Re: [Bioc-devel] Problems with BiocParallel on Windows

2021-10-25 Thread Jiefei Wang
n that trying to modify the code of one of the functions that raises > errors and setting the option "exportglobals = TRUE" on SnowParam, somehow it > still fails and says it doesn't find the function "mandatory_is_vars()" which > is a function exported by the packa

Re: [Bioc-devel] Problems with BiocParallel on Windows

2021-10-25 Thread Jiefei Wang
What do you mean by "exported functions are invisible to SnowParam workers"? Please provide more details. If you call 'bplapply' with a function from your package, it should be visible to the worker. ___ Bioc-devel@r-project.org mailing list https://stat

Re: [Bioc-devel] Problems with BiocParallel on Windows

2021-10-25 Thread Jiefei Wang
Hi Giulia, One of your errors is raised from L1288 in the file "analysis-functions.R" if (getOption("ISAnalytics.verbose") == TRUE) { ... } The error message is "argument is of length zero". Usually, this means something is wrong with the global option. Then I see at L4812 in "internal-functions

[Bioc-devel] Looking for suggestions for BiocParallel

2021-10-06 Thread Jiefei Wang
Dear all, We are preparing for the new devel branch for Bioc 3.15, so we look for suggestions for BiocParallel from our community. If you think there is anything we can improve, please feel free to leave your comments here: https://github.com/Bioconductor/BiocParallel/issues/160 Cheers, Jiefei _

Re: [Bioc-devel] Spurious "dims [product 864] do not match the length of object [432]" on macOS

2021-09-25 Thread Jiefei Wang
Hi, If you are a newbie to the terminal, all you need to do is to extract the R code from your vignette using `R CMD Stangle xcms-lcms-ms.Rmd`(assume you are under the vignettes directory). Then use `R -d valgrind -f xcms-lcms-ms.R` to check for the memory issue. In the ideal case, it can directly

Re: [Bioc-devel] MPFE Bioconductor package

2020-09-18 Thread Jiefei Wang
ciences Institute > Building 145 > Australian National University > > Phone: 61-2-61250730 > E-mail: conrad.bur...@anu.edu.au > Web page: http://maths.anu.edu.au/people/conrad-burden > > > On 17 Sep 2020, at 8:36 pm, Jiefei Wang wrote: > >

Re: [Bioc-devel] MPFE Bioconductor package

2020-09-17 Thread Jiefei Wang
Hi Conrad, Just a friendly reminder, there is a bug in your package. Here is the build result from the link you provided: == --- Error message --- --- failure: length > 1 in coercion to logical --- --- call from argument --- columns < 1 || columns > nCo

Re: [Bioc-devel] DECIPHER questions

2020-09-16 Thread Jiefei Wang
Hi Henry, It seems like you are using a Bioconductor package. Why not directly ask the author of the package(eswri...@pitt.edu)? JFYI, here is the link for the package, it seems like the author has written a lot of documentation for the package: https://www.bioconductor.org/packages/release/bioc/