tudo-r / BatchJobs

BatchJobs: Batch computing with R
Other
85 stars 20 forks source link

src.dirs does not wirk on Lido #23

Closed danielhorn closed 10 years ago

danielhorn commented 10 years ago

Here is the minimal example:

library(BatchJobs) r = makeRegistry("test", file.dir=as.character(sample(10000, 1)), src.dirs = "Blubb") f = function(x) x^2 batchMap(r, f, 1:20) submitJobs(r)

where Blubb is a directory in my working directory, containing a random R-script

We see 2 Bugs here: First, the error on lido is: Error in getRScripts(dirs) : Directories not found: Blubb Second: This error is not transfered into the registry, in the registry these jobs are only labeled as "submitted", they er neither started nor errors, but they should be.

mllg commented 10 years ago

Fixed in 5fcb534bb4f7cfd239d9c0cc37c66333aa1e6b73. Thanks for the report.