4

I am trying to run a simple command in R using the Quandl package. I am getting the following error when I run though:

Error in loadNamespace(name) : there is no package called ‘curl’

The code I am running is:

library(Quandl) 
library(xts)
library(zoo)

Quandl.auth("login_token")

mydata = Quandl("FRED/GDP")

It is probably something dumb, but I can't seem to find the answer. Any help is appreciated, thanks!

jrouquie
  • 4,315
  • 4
  • 27
  • 43
user3734644
  • 53
  • 2
  • 5

1 Answers1

1
install.packages("curl")

I faced the same issue, and saw the comment here Cannot install devtools package after upgrading R

Community
  • 1
  • 1
rbrowne
  • 11
  • 2