search for: url_base

Displaying 3 results from an estimated 3 matches for "url_base".

Did you mean: r_base
2018 Sep 19
5
segfault issue with parallel::mclapply and download.file() on Mac OS X
I have an lapply function call that I want to parallelize. Below is a very simplified version of the code: url_base <- "https://cloud.r-project.org/src/contrib/" files <- c("A3_1.0.0.tar.gz", "ABC.RAP_0.9.0.tar.gz") res <- parallel::mclapply(files, function(s) download.file(paste0(url_base, s), s)) Instead of download a couple of files in parallel, I get a segfault per pro...
2018 Oct 04
0
segfault issue with parallel::mclapply and download.file() on Mac OS X
...d into something like parLapply(). parLapply() on a non-FORK cluster should work fine even with such applications. Best Tomas On 09/19/2018 11:19 PM, Seth Russell wrote: > I have an lapply function call that I want to parallelize. Below is a very > simplified version of the code: > > url_base <- "https://cloud.r-project.org/src/contrib/" > files <- c("A3_1.0.0.tar.gz", "ABC.RAP_0.9.0.tar.gz") > res <- parallel::mclapply(files, function(s) download.file(paste0(url_base, > s), s)) > > Instead of download a couple of files in parallel,...
2018 Sep 20
0
segfault issue with parallel::mclapply and download.file() on Mac OS X
...s API is very restricted, though, so I suggest to look at the curl package. GaborOn Thu, Sep 20, 2018 at 8:44 AM Seth Russell <seth.russell at gmail.com> wrote: > > I have an lapply function call that I want to parallelize. Below is a very > simplified version of the code: > > url_base <- "https://cloud.r-project.org/src/contrib/" > files <- c("A3_1.0.0.tar.gz", "ABC.RAP_0.9.0.tar.gz") > res <- parallel::mclapply(files, function(s) download.file(paste0(url_base, > s), s)) > > Instead of download a couple of files in parallel,...