简体   繁体   English

无法在R中安装任何软件包

[英]Can't install any packages in R

Title says the core of it. 标题说明了它的核心。 I've been wanting to learn R and I thought that swirl sounded nice. 我一直想学习R,所以我觉得旋涡听起来不错。 I can't get swirl to install, so just as an experiment I tried another package. 我无法安装漩涡,就像实验中尝试了另一个软件包一样。 I get the same error message. 我收到相同的错误消息。 I'm getting this in both R and R Studio. 我在R和R Studio中都得到了这个。

My input and error message are here: 我的输入和错误消息在这里:

install.packages("swirl")
## package ‘swirl’ is available as a source package but not as a binary
## Warning message:
## package ‘swirl’ is not available (for R Under development) 

The first time I tried it I did get to chose a CRAN mirror, but otherwise I've been just spinning my gears. 第一次尝试时,我确实选择了CRAN镜,但是否则我一直在旋转齿轮。

I'm on a Mac and running OS X Yosemite, I tried looking for any issues similar to this and I am stuck. 我在Mac上运行OS X Yosemite,尝试查找与此类似的任何问题,但遇到问题。 Any help is appreciated. 任何帮助表示赞赏。

It looks like you're using a bleeding edge version of R ("R Under development"). 看起来您正在使用R的最新版本(“ R开发中”)。

Downgrade to the latest stable version and you should be fine. 降级到最新的稳定版本,就可以了。

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

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