Open amwhite opened 9 years ago
I'll figure it out...
Work around: in the .Renviron file add a line like this, where the directory chosen is on the same drive/partition/device as the vdb directory.
TMPDIR=~/tmp
Restart R (this is necessary). Then it will use the directory you specify as the place for temporary files and won't have a problem copying them.
Also: see the documentation for tempfile() to see why the above work around works.
@amwhite, do you think this workaround is sufficient, or should we do something in the code?
I think we should fix it in the code. Not a huge priority since we do have a workaround.
I just encountered this bug on CentOS 7. The file.rename command fails because the /tmp folder is a different mount point. It works if I change file.rename to file.copy with overwrite=TRUE on line 326 of makeDisplay.R
I think the merge @hafen did earlier today fixes this problem. Please reinstall the latest version of trelliscope and let us know if that doesn't fix it.
Confirmed fixed on CentOS 7, thanks!
Specifically, when makeDisplay() calls file.rename() to move the files from temp directory to the vdb directory, it does not work correctly when the temp dir is on a different partition or drive from the vdb dir.
Error message: