Hi Folks! I seem to be having a problem with alignDailySeries in Rmetrics:
DTB6<-fredSeries("DTB6",frequency = "daily",from =
"1980-01-01")
trying URL '
http://research.stlouisfed.org/fred2/series/DTB6/downloaddata/DTB6.txt'
Content type 'text/plain; charset=UTF-8' length 248392 bytes (242 Kb)
opened URL
downloaded 242 Kb
Read 13060 items
class(DTB6)
[1] "timeSeries"
attr(,"package")
[1] "fSeries"
DTB6<-alignDailySeries(DTB6, method = "interp",include.weekends =
FALSE,
units = NULL)
Error in getDataPart(<S4 object of class "timeSeries">) :
no '.Data' slot defined for class "timeSeries"
What's causing this error?
--John
sessionInfo()
R version 2.8.0 (2008-10-20)
i386-pc-mingw32
locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=English_United
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] strucchange_1.3-5 sandwich_2.1-0 quantmod_0.3-7
Defaults_1.1-1 xts_0.0-16 FinTS_0.3-6
[7] fracdiff_1.3-1 fTrading_270.74 fGarch_280.75
fMultivar_270.74 fBasics_280.74 sn_0.4-8
[13] mnormt_1.3-1 fSeries_270.76.1 fCalendar_270.78.1
fEcofin_270.75 fUtilities_270.75 MASS_7.2-44
[19] robustbase_0.4-3 dyn_0.2-6 zoo_1.5-4
fImport_270.74 timeSeries_290.79 timeDate_290.81
loaded via a namespace (and not attached):
[1] grid_2.8.0 lattice_0.17-15 tools_2.8.0
[[alternative HTML version deleted]]