r - `quantmod`'s `getSymbols.FRED` not working as expected -


this question has answer here:

the following lines quantmod's manual (p54):

library(quantmod) getsymbols('cpiaucns',src='fred') 

returns:

error in download.file(paste(fred.url, "/", symbols[[i]], "/", "downloaddata/",  :    cannot open url 'http://research.stlouisfed.org/fred2/series/cpiaucns/downloaddata/cpiaucns.csv' 

how fix this?

(using latest version of both r , quantmod)

use https:// url instead.


Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -