Closed TinusChen closed 2 years ago
Hello TinusChen,
have you tried removing the /Users/tinus.chen/R/x86_64-apple-darwin-library/fastr-21.0.0.2-3.6/00LOCK-gtable
directory as the error message suggests? You can do that with
rm -rf /Users/tinus.chen/R/x86_64-apple-darwin-library/fastr-21.0.0.2-3.6/00LOCK-gtable
If you can reproduce this issue again and following the suggestions in the error message:
ERROR: failed to lock directory ‘/Users/tinus.chen/R/x86_64-apple-darwin-library/fastr-21.0.0.2-3.6’ for modifying
Try removing ‘/Users/tinus.chen/R/x86_64-apple-darwin-library/fastr-21.0.0.2-3.6/00LOCK-gtable’
do not fix the problem, then please re-open this issue.
Hello TinusChen,
have you tried removing the
/Users/tinus.chen/R/x86_64-apple-darwin-library/fastr-21.0.0.2-3.6/00LOCK-gtable
directory as the error message suggests? You can do that withrm -rf /Users/tinus.chen/R/x86_64-apple-darwin-library/fastr-21.0.0.2-3.6/00LOCK-gtable
If you can reproduce this issue again and following the suggestions in the error message:
ERROR: failed to lock directory ‘/Users/tinus.chen/R/x86_64-apple-darwin-library/fastr-21.0.0.2-3.6’ for modifying Try removing ‘/Users/tinus.chen/R/x86_64-apple-darwin-library/fastr-21.0.0.2-3.6/00LOCK-gtable’
do not fix the problem, then please re-open this issue.
The problem could be also solved by removing the 00LOCK-gtable directory. Thanks for your suggestion.
Repro: 'install.packages("ggplot2")'
ERROR: failed to lock directory ‘/Users/tinus.chen/R/x86_64-apple-darwin-library/fastr-21.0.0.2-3.6’ for modifying
Here's the error:
I was able to fix this by running the following commands as a workaround:
install.packages("ggplot2", INSTALL_opts = c('--no-lock'))
The same situation will be encountered when installing another package 'gtable'. This problem can be also solved using the above method.
Env: