Displaying 1 result from an estimated 1 matches for "lnfile".
Did you mean:
infile
2009 Mar 21
1
unlink fails to remove symbolic links
unlink fails to remove symbolic links. This is more prominent now --
when a package creates symbolic links during installation, 00LOCK is
not removed.
Martin
> setwd(tempdir())
> fl <- tempfile(); file.create(fl)
[1] TRUE
> lnFile <- tempfile(); system(paste("ln -s", fl, lnFile))
> list.files()
[1] "file19495cff" "file74b0dc51"
> unlink(fl); unlink(lnFile)
> list.files()
[1] "file19495cff"
> lnFile
[1] "/tmp/Rtmpb0kd7B/file19495cff"
> sessionInfo()
R versio...