RStudio 在 RCurl 中调用 getURL 时崩溃

RStudio crashes with call to getURL in RCurl

我在 Mac OS 10.10.3 上使用 R (3.2.0) 和 RStudio (0.98.1103) 的最新稳定版本。

RCurl 包调用 getURL 时,RStudio 因致命错误而终止。

从命令行使用 R 时,不会发生这种情况,仅在 RStudio 中发生。

library("RCurl")
getURL("http://www.omegahat.org/RCurl/")

library("RCurl") 之后检查 sessionInfo()system.file().libPaths() 的输出确实让我相信我使用的是相同版本的 R 和 RCurl两种情况。

从命令行执行 R:

> library("RCurl")
Loading required package: bitops
> sessionInfo()
R version 3.2.0 (2015-04-16)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.3 (Yosemite)

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] RCurl_1.95-4.6 bitops_1.0-6  
> system.file()
[1] "/Library/Frameworks/R.framework/Resources/library/base"
> .libPaths()
[1] "/Library/Frameworks/R.framework/Versions/3.2/Resources/library"

然后从 RStudio 内部:

> library("RCurl")
Loading required package: bitops
> sessionInfo()
R version 3.2.0 (2015-04-16)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.3 (Yosemite)

locale:
[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] RCurl_1.95-4.6 bitops_1.0-6  

loaded via a namespace (and not attached):
[1] tools_3.2.0
> system.file()
[1] "/Library/Frameworks/R.framework/Resources/library/base"
> .libPaths()
[1] "/Library/Frameworks/R.framework/Versions/3.2/Resources/library"

非常感谢任何帮助。

这似乎已通过升级到 Mac OS 10.10.5、RStudio 版本 0.99.489 和最新的 R 3.2.3 得到解决