Skip to content
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

"error: failed to lock directory"- while installing #44

Open
AyushjGyawali opened this issue Jul 2, 2018 · 0 comments
Open

"error: failed to lock directory"- while installing #44

AyushjGyawali opened this issue Jul 2, 2018 · 0 comments

Comments

@AyushjGyawali
Copy link

Hi, The code that I ran to instal ggbilpot is : install_github("vqv/ggbiplot")

Then at first I get the error......

ERROR: failed to lock directory 'C:/Users/ayush/Documents/R/win-library/3.5' for modifying
Try removing 'C:/Users/ayush/Documents/R/win-library/3.5/00LOCK-vqv-ggbiplot-7325e88'
In R CMD INSTALL

Then when I go ahead and remove the file suggested above and re run the same installation code I get the error.....

*** installing source package 'ggbiplot' ...
Warning in file.copy(f, instdir, TRUE) :
problem copying .\NAMESPACE to C:\Users\ayush\Documents\R\win-library\3.5\ggbiplot\NAMESPACE: Permission denied
Warning in file(file, if (append) "a" else "w") :
cannot open file 'C:/Users/ayush/Documents/R/win-library/3.5/ggbiplot/DESCRIPTION': Permission denied
Error in file(file, if (append) "a" else "w") :
cannot open the connection
ERROR: installing package DESCRIPTION failed for package 'ggbiplot'

  • removing 'C:/Users/ayush/Documents/R/win-library/3.5/ggbiplot'
    In R CMD INSTALL**

Please help. Thanks in advance.
Ayush

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant