Displaying 1 result from an estimated 1 matches for "fileedc792515a3".
2016 May 25
0
odd warning unlinking symlink on Windows
...R, I got
an odd warning when trying the remove a symbolic link:
file.create(tfile <- tempfile())
#[1] TRUE
file.symlink(tfile, tlink <- tempfile())
#[1] TRUE
unlink(tlink)
#Warning message:
#In unlink(tlink) :
# cannot delete reparse point
'C:\Users\wdunlap\AppData\Local\Temp\Rtmp0oB1gl\fileedc792515a3', reason
'There is a mismatch between the tag specified in the request and the tag
present in the reparse point.
#'
file.exists(tlink)
#[1] TRUE
I can remove the symbolic link, without any warnings, if it is in
a directory that I remove with unlink(recursive=TRUE):
dir.create(tdir &l...