search for: niknakk

Displaying 2 results from an estimated 2 matches for "niknakk".

Did you mean: nikalk
2018 Jul 03
1
Bug in file.access on Windows when using network shares
.../mypc/myshare/test.txt",0) # Returns 0 file.access("//mypc/myshare/test.txt",4) # Returns -1 regardless of whether the original host was Windows or non-Windows In all cases the file is actually readable. I've created my own version of winAccessW in extra.c at https://github.com/NikNakk/r-source/commit/0a82f6d23b8a2ace44e43a28cb6eb923145a13c8 Almost all of the code in here can be replaced with a simple call to _waccess, other than the check for executable. This seems to work as expected. Since _waccess exists as a system call within Windows and has the same syntax (other than wid...
2018 Jul 02
2
Bug in file.access on Windows when using network shares
Dear R-Devel, I've run into an issue with a package (vcfR) that uses file.access to check a file is readable before opening it. The issue is actually in base R though. I've looked into the package code, and it calls file.access(path, mode = 4). I've created a minimal working example of the code in winAccessW from src/gnuwin32/extra.c, and the problem arises when GetFileSecurityW is