Running Quandl in R "Error in loadNamespace(name) : there is no package called ‘curl’"

user3734644 picture user3734644 · Aug 26, 2015 · Viewed 7.2k times · Source

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!

Answer

rbrowne picture rbrowne · Feb 18, 2017
install.packages("curl")

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