search for: run30

Displaying 2 results from an estimated 2 matches for "run30".

Did you mean: run3
2024 Dec 31
1
mclapply hanging occasionally on macos
...tting a single word into debug.csv in order to avoid the empty file error), ``` library(parallel) ignore.dataset <- read.csv("debug.csv"); rm(ignore.dataset) useless.function <- function( ) { y <- rnorm(3); x <- rnorm(3) summary( lm( y ~ x )) ## useless NULL } run30 <- function(i) { message("run30=", i) useless.function() } run30( 0 ) message("many mc") simsl <- mclapply( 1:30, run30 ) ``` this replicably does not count to 30 on both desktops, but does on the air. not fun...can someone else try this program on a macos recen...
2024 Dec 31
1
mclapply hanging occasionally on macos
? Mon, 30 Dec 2024 19:16:11 -0800 Ivo Welch <ivo.welch at gmail.com> ?????: > useless.function <- function( ) { > y <- rnorm(3); x <- rnorm(3) > summary( lm( y ~ x )) ## useless > NULL > } > > run30 <- function(i) { > message("run30=", i) > useless.function() > } > > run30( 0 ) > message("many mc") > simsl <- mclapply( 1:30, run30 ) Thank you for telling us which code you're running that eventually hangs mclapply()! I see that your e...