hpc/Q 2.0 does not find arguments
mschubert opened this issue · comments
MWE:
fouter = function(arg1, arg2) {
finner = function(a1) arg2
finner(arg1)
}
# this works fine
mapply(fouter, arg1=letters[1:2], arg2=1:2)
# this throws an error saying "arg2 not found"
hpc = import('hpc')
hpc$Q(fouter,
iter = list(arg1 = letters[1:2], arg2 = 1:2),
memory=100, n_jobs=1)