Commit 94863fcc authored by Gael  MILLOT's avatar Gael MILLOT

fun_gg_boxplot very well debugged

parent d06c4908
No preview for this file type
......@@ -1543,7 +1543,7 @@ thread.nb <- tempo.thread.nb <- paste0("NUMBER OF THREADS USED: ", thread.nb)
cat(paste0("\n ",, "\n"))
Clust <- parallel::makeCluster(thread.nb, outfile = paste0(res.path, "/fun_test_parall_log.txt")) # outfile to print or cat during parallelization (only possible in a file, outfile = "" do not work on windows○) <- paste0("TEST NUMBER SPLIT FOR PARALLELISATION:") <- paste0("SPLIT OF TEST NUMBERS IN PARALLELISATION:")
cat(paste0("\n ",, "\n"))
str(parallel::clusterSplit(Clust, 1:total.comp.nb)) # using print(str()) add a NULL below the result
paral.output.list <- parallel::clusterApply( # paral.output.list is a list made of thread.nb compartments, each made of n / thread.nb (mat theo column number) compartment. Each compartment receive the corresponding results of fun_permut(), i.e., data (permuted mat1.perm), warning message, cor (final correlation) and count (number of permutations)
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment