output dir in inner_join does not listen...
I tried to set the output dir in inner_join, to avoid that it makes a temp dir on my small primary HD on Linux and uses my secondary HD mount. But nonetheless, a step on line 32 in the inner_join.R, it makes a tempdir nonetheless. I used unixtools::set.tempdir("/run/media/knut/HD/tmp/') as a quick fix, one can I guess also change temp variable in .Rprofile file. But it's not working as expected, so I thought I open an issue.
However, as I manually overwrote those two lines, as a first attempt to solve it,
x = rechunk(x, shardby=by, nchunks = max(ncy,ncx), outdir = tempfile(fileext = ".df"), overwrite = FALSE)
y = rechunk(y, shardby=by, nchunks = max(ncy,ncx), outdir = tempfile(fileext = ".df"), overwrite = FALSE)
with my own tempdir, it still wrote to the primary hd tempdir, regardless. Thus the reason could be elsewhere, too.
I see. What does tempdir() give you? cos tempfile calls tempdir to obtain the temporary directory. The temp directory is set per R session, so probably need a way to set it for all R Sesions.. I don't recall which setting is used. I wonder if setting a TMPDIR environment variable would work.