-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
image files not always copied from temp directory to vdb directory #87
Comments
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.
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:
The text was updated successfully, but these errors were encountered: