Closed webdevdufrain closed 7 years ago
That sounds possible. Can you also provide your sessionInfo()
?
I confirmed the issue on a Windows VM -- it should be resolved with https://github.com/kevinushey/sourcetools/commit/53ee2913f59aae601f9c372ce9d3622db9ede944. Thanks for reporting!
You can install the development version with:
devtools::install_github("kevinushey/sourcetools")
I'll submit a patch release of sourcetools
to CRAN shortly to resolve this issue.
Steps to recreate error:
I initally found this error whilst using RStudio, but without using RStudio I can still recreate the error:
The error message reads
Error: The requested operation cannot be performed on a file with the user-mapped section open.
After shutting down R, the file saves as normal.
Speculation: is the C code holding some lock on the tokenized file?