简体   繁体   中英

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. 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.

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.

I'm on a Mac and running OS X Yosemite, I tried looking for any issues similar to this and I am stuck. Any help is appreciated.

It looks like you're using a bleeding edge version of R ("R Under development").

Downgrade to the latest stable version and you should be fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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