安装“ survhe”时,允许拒绝错误W Windows 11中的R软件包

发布于 2025-02-08 07:12:36 字数 584 浏览 0 评论 0原文

通过以下方式更新survhe时,我总是会收到下面的错误消息:

install.packages("remotes")
remotes::install_github('giabaio/survHE', ref='hmc', force = TRUE)

[....]

    Warning message:
In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\derek\AppData\Local\R\win-library\4.2\00LOCK\processx\libs\x64\processx.dll to C:\Users\derek\AppData\Local\R\win-library\4.2\processx\libs\x64\processx.dll: Permission denied

软件包开发人员不确定出了什么问题,并且由于不使用窗口而无法复制。我尝试在安装时尝试重新启动和运行rstudio(或只是r)作为管理员。我需要进行更新,因为我会遇到开发人员认为可能是由于软件包的旧版本中的错误所致。

I always get the error message below when updating survHE via:

install.packages("remotes")
remotes::install_github('giabaio/survHE', ref='hmc', force = TRUE)

[....]

    Warning message:
In file.copy(savedcopy, lib, recursive = TRUE) :
  problem copying C:\Users\derek\AppData\Local\R\win-library\4.2\00LOCK\processx\libs\x64\processx.dll to C:\Users\derek\AppData\Local\R\win-library\4.2\processx\libs\x64\processx.dll: Permission denied

The package developer isn't sure what's wrong and can't replicate as he doesn't use Windows. I have tried rebooting and running RStudio (or just R) as admin while installing. I need to do the update as I'm getting problems that the developer reckons may be due to bugs in the old version of the package.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文