Re: [Rd] mclapply returns NULLs on MacOS when running GAM

2020-04-28 Thread Shian Su
easy native solution and you need to share a lot of data for > small results. If the data is small, or you need to read it first, then other > methods like PSOCK may be preferable. In any case, parallelization only makes > sense for code that you know will take a long time to run. &

Re: [Rd] mclapply returns NULLs on MacOS when running GAM

2020-04-28 Thread Shian Su
even use stop() here if you wanna be > conservative. > > [0] https://github.com/rstudio/rstudio/issues/2597#issuecomment-482187011 > [1] https://stat.ethz.ch/pipermail/r-devel/2020-January/078896.html > > /Henrik > > On Tue, Apr 28, 2020 at 2:39 AM Shian Su wrote: >&g

Re: [Rd] mclapply returns NULLs on MacOS when running GAM

2020-04-28 Thread Shian Su
2020, at 7:29 pm, Simon Urbanek mailto:simon.urba...@r-project.org>> wrote: Sorry, the code works perfectly fine for me in R even for 1e6 observations (but I was testing with R 4.0.0). Are you using some kind of GUI? Cheers, Simon On 28/04/2020, at 8:11 PM, Shian Su mailto:s...@wehi.

[Rd] mclapply returns NULLs on MacOS when running GAM

2020-04-28 Thread Shian Su
ug could not be reproduced on my Ubuntu 19.10 running R 3.6.1. Kind regards, Shian Su Shian Su PhD Student, Ritchie Lab 6W, Epigenetics and Development Walter & Eliza Hall Institute of Medical Research 1G Royal Parade, Parkville VIC 3052, Australia

[Rd] Discrepancy between is.list() and is(x, "list")

2019-03-11 Thread Shian Su
Hi R-devel, I have noticed a discrepancy between is.list() and is(x, “list”), which I previously believed to be synonymous. On R version 3.5.2 (2018-12-20): data(iris) is.list(iris)# TRUE is(iris, “list”) # FALSE Is this discrepancy intentional? Kind regards, Shian Su