0

When I type

install.packages("swirl")

library(swirl)

I get:

There is a binary version available but the source version is later:
     binary source needs_compilation
mime    0.7    0.8              TRUE

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) library("swirl")
Error in install.packages : Unrecognized response “library("swirl")”

How do I instal swirl in R with this?

UseR10085
  • 7,120
  • 3
  • 24
  • 54
olosi6
  • 3
  • 2
  • Wait a few days until the package is compiled, then try again – Hong Ooi Dec 20 '19 at 04:59
  • You are installing `swirl` package but you are getting message regarding `mime` package. That's strange. I have installed `swirl` in Windows 10 operating system R version 3.6.1 with absolutely no problem. You please run the `install.packages("swirl")` first, then call `library(swirl)`. – UseR10085 Dec 20 '19 at 05:04
  • Now it givesme this: Do you want to install from sources the package which needs compilation? (Yes/no/cancel) install.packages("swirl") Error in install.packages : Unrecognized response “install.packages("swirl")” – olosi6 Dec 20 '19 at 05:12
  • You select Yes. Use `install.packages("swirl")` without " ". – UseR10085 Dec 20 '19 at 05:28
  • How do I select Yes? it's not clickable, is it something I type in? – olosi6 Dec 20 '19 at 15:03
  • @olosi6 Can you post the screenshot? – UseR10085 Dec 20 '19 at 15:06

0 Answers0