-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could you replace file.access
with R.utils::fileAccess
?
#49
Comments
No, I can't / won't because it would add another dependency needed only by
Now, if you really must change the code and cannot change your directory, then I would consider a really careful pull request against digest which branches the execution and possibly doubles the code from R.utils. @HenrikBengtsson is already a contributor and co-author and won't mind (I surmise...) Edit: And I should add that file-based use is yet again a subset of users. You can help yourself NOW by adding a local version of digest which copies the file to |
Ok, thank you for your attention and your reply. |
Indeed, this is possibly a wrong configuration... I'll try to talk about that to the IT team of my company but I'm afraid it will be hard to explain ^^ |
I've found a workaround.
Then:
And now I can do |
A few comments (also for future readers if they find this thread): I don't know whether it as simple as "a subset of users with wrongly configured network drives" or not. I first discovered this issue on Windows back in 2008 and I believe I saw it with other setups too. I'm pretty sure I did lots of troubleshooting trying to figure out what was going on, but never found a solution other than all the fallback tests that I agree with Dirk that it doesn't make sense to add dependencies to the digest package. I think it would be doable to port a cleaned up version of Even better would be to try to improve on |
👍 on fixing it in R itself. You know the problem, you know the fix, could you please quietly email Duncan M and quietly ask who (besides him) may be willing to look into this. (And of course: I know you are busy too. We all are. But it won't get resolved until has sufficient motivation to carry it through....) |
It's also quite possible that the RStudio team would totally support it. I say that because:
|
@stla: You are not adding value to the discussion. RStudio has the exact same options as you and me for getting code into base R: none, besides persuading an R Core member to commit it. For the rest, you are basically repeating over and over that "there can be issues with Windows and a network drive". Which has zero to do with the digest package here. |
This is precisely why I said that RStudio would also support this request to the R Core team.... And I had zero intention to repeat anything. Maybe you misunderstood my previous comment, or inversely this is me who misunderstood something. But anyway I don't think I deserved such a contemptuous reply. Perhaps I made you angry because I used your Github repo to discuss about a point which is not related to the digest package. I apologize for that. |
Hello,
This is a message for the author of the
digest
package.It is known that
file.access
has some issues with network drives, as we can see in this issue and in this post on stackoverflow.I am the author of this post on stackoverflow. I get:
I have tried the
fileAccess
function from theR.utils
package:This time, I get
0
.Thus, my problem (and perhaps other problems) would be solved if you replaced
file.access
withR.utils::fileAccess
.The text was updated successfully, but these errors were encountered: