[R] file.link fails on NTFS
Rui Barradas
ruipbarradas at sapo.pt
Sat Dec 8 12:23:28 CET 2012
Hello,
Checks. It seems like a Windows specific bug, it works on Ubuntu 12.04/R
2.15.2. I'll post to R-devel.
> sessionInfo()
R version 2.15.2 (2012-10-26)
Platform: i386-w64-mingw32/i386 (32-bit)
locale:
[1] LC_COLLATE=Portuguese_Portugal.1252 LC_CTYPE=Portuguese_Portugal.1252
[3] LC_MONETARY=Portuguese_Portugal.1252 LC_NUMERIC=C
[5] LC_TIME=Portuguese_Portugal.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
Rui Barradas
Em 08-12-2012 06:07, Oliver Soong escreveu:
> 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
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list