Failed to lock directory when installing R package using devtools::install_github()

前端 未结 1 1269
太阳男子
太阳男子 2020-12-21 14:40

When installing an R package from GitHub using devtools::install_github(), the following error was returned:

ERROR: failed to lock directory ‘/L         


        
相关标签:
1条回答
  • 2020-12-21 15:25

    Try removing /Library/Frameworks/R.framework/Versions/3.3/Resources/library/00LOCK-jrosen48-prcr-4f6f783

    Remove using rm command from your command line:

    :$ rm -rf /Library/Frameworks/R.framework/Versions/3.3/Resources/library/00LOCK-jrosen48-prcr-4f6f783
    

    Then install the package again.

    0 讨论(0)
提交回复
热议问题