Cannot open reparsepoint due to locked file on Windows 7
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 409
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
When I run the a file from RStudio, it runs without a problem. When I run using Rscript, I get this warning
Warning message:
In Sys.junction(from, to) :
cannot open reparse point 'C:/Users/upadmin/Documents/GitHub/dashboards/packrat/lib-R/base',
reason 'The process cannot access the file because it is being used by another process'
However, when I search for for the directory using Resource Manager, I cannot locate any processes using that directory.

The rest of the code executes -- I'm not sure what a reparse point is and whether this matters, but it sounds important?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the warning when running the reported project with Rscript on Windows 7, then trace the packrat path that invokes Sys.junction for the reported reparse point. Check whether the warning affects execution and establish whether completion means removing the warning or documenting why it is harmless.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- operating-systems, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100