[R] file.link fails on NTFS

Oliver Soong osoong+r at gmail.com
Sat Dec 8 07:07:49 CET 2012


Windows 7 64-bit, R 2.15.2 i386.  Working directory is on an NTFS drive.

> writeLines("", "file.txt")
> file.link("file.txt", "link.txt")
Warning in file.link("file.txt", "link.txt") :
  cannot link 'link.txt' to 'link.txt', reason 'The system cannot find
the file specified'

No link is created.  The 'link.txt' to 'link.txt' is suspicious.  Does
this happen to anybody else?  I didn't find anything in my searches.

Oliver



More information about the R-help mailing list