简体   繁体   English

带有install.packages的mro 3.4.0错误

[英]mro 3.4.0 bug with install.packages

There was a bug with the general release of R 3.4.0 that has since been patched for 3.4.0 and also included in 3.4.1, but apparently has not been fixed for mro 3.4.0. R 3.4.0的一般发行版中存在一个错误,此错误已针对3.4.0进行了修补,并包含在3.4.1中,但显然尚未针对mro 3.4.0进行修复。 When is the fix/patch going to be available for mro? 修复/补丁何时可用于MRO? What is the work-around besides reverting back to mro 3.3.3? 除了恢复到mro 3.3.3之外,还有什么解决方法? As it stands now, after installing mro 3.4.0, I cannot install any packages. 就目前情况而言,在安装mro 3.4.0之后,我将无法安装任何软件包。

Here is a similar post on SO for R 3.4.0, but it does not address Microsoft R Open. 是R 3.4.0的SO上的类似文章,但未解决Microsoft R Open。

Here is an announcement regarding the bug fix for R 3.4.0/1. 是有关R 3.4.0 / 1的错误修复的公告。 This release fixes a few minor bugs reported after the release of R 3.4.0, including an issue sometimes encountered when attempting to install packages on Windows. 此版本修复了R 3.4.0发行后报告的一些小错误,包括尝试在Windows上安装软件包时有时遇到的问题。

Note that I also posted at the MS R Open forum , but figured I might be more likely to get a quick response here. 请注意,我也曾在MS R Open论坛上发帖 ,但认为我可能会在这里获得快速回复。

Thanks, 谢谢,

Kyle 凯尔

As requested, here is the actual error I get: 根据要求,这是我得到的实际错误: 错误信息

The specific error you got is related to some bug in the code that checks for the last modified date of a directory. 您遇到的特定错误与检查目录的最后修改日期的代码中的一些错误有关。 This returns nothing if there is another application looking at that directory. 如果有另一个应用程序正在查看该目录,则此命令不返回任何内容。 A file browser for example. 例如文件浏览器。

Here is the bugfix specifying what exactly went wrong: 这是一个错误修复程序,它指定了到底出了什么问题:

CHANGES IN R 3.4.0 patched BUG FIXES R 3.4.0修补的BUG修复程序中的更改

'file.mtime()' no longer returns NA on Windows when the file or directory is being used by another process. 当文件或目录被另一个进程使用时,“ file.mtime()”在Windows上不再返回NA。

http://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2017/04/29#n2017-04-29 http://developer.r-project.org/blosxom.cgi/R-devel/NEWS/2017/04/29#n2017-04-29

Checking for that and closing any such applications should be a workaround for this bug for the time being. 暂时检查并关闭所有此类应用程序应该是此错误的解决方法。

@HongOoi mentioned in the comments that generally there is a month between the CRAN R releases and the following MRO update, so MRO 3.4.1 should take about 3 more weeks. @HongOoi在评论中提到,CRAN R版本与后续的MRO更新之间通常需要一个月的时间,因此MRO 3.4.1大约还需要3周。

Update: Mro 3.4.1has been released 更新: Mro 3.4.1已发布

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM