quantitative finance - getSymbols is throwing could not find function "importDefaults" errror -
i using financialinstrument package. when try call getsymbols function, following error.
getsymbols("hsi", src='fi', dir=paste0(project_home,"/data/tick"), extension='rdata', + split_method='days', from='2014-11-01', days_to_omit="saturday")
error in getsymbols.fi(symbols = "hsi", env = , verbose = false, : not find function "importdefaults"
that because 'quantmod' package, 'financialinstrument' package depends on, excluded dependencies 'defaults' package, includes 'importdefaults' function. downloading 'defaults' package may help, try library(defaults)
before running getsymbols.
Comments
Post a Comment