0

I got the below error message when I run the swirl in Rstudio:

Error: package or namespace load failed for ‘swirl’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called ‘RCurl’

Any thoughts? Thanks!

Len Greski
  • 10,505
  • 2
  • 22
  • 33
sara
  • 1
  • How did you originally install it? Did you update any packages recently? It says it can't find the `RCurl` package so I would just try installing that manually and see what happens: `install.packages("RCurl")` – MrFlick Jan 15 '18 at 20:31
  • Thanks MrFlick, yes i updated packages and R and I did install RCurl separately too, but it returns "configure: error: in `/private/var/folders/94/3r9mjrqs0_b8jrmdth8f2mc40000gn/T/Rtmpk5scTK/R.INSTALLe4210075679/RCurl': configure: error: C compiler cannot create executables See `config.log' for more details ERROR: configuration failed for package ‘RCurl’ * removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/RCurl’ Warning in install.packages : installation of package ‘RCurl’ had non-zero exit status" – sara Jan 15 '18 at 23:07

1 Answers1

0

After spending 2 hours of installing decencies manually I solved mu problem by clicking on "Packages" then to "Install"

Anya Sti
  • 131
  • 2
  • 5