jcizel / FredR

FredR: R Interface to Federal Reserve Economic Data API
http://www.jankocizel.com/FredR/
Other
58 stars 34 forks source link

Unable to load series - issue in "xml2dt" ? #2

Open nsaleille opened 9 years ago

nsaleille commented 9 years ago

Hi there,

Many thanks for the development effort, this tool's going to be great. I am trying to run search queries using RStudio, I have an api.key but any call to functions such as "series.search" will bring the following error:

Error in rbindlist(., fill = TRUE) : unused argument (fill = TRUE)

I think this might be related to the function xml2dt but I don't have any notion in XML...

Do you have any clue how I can fix that ?

Many thanks, Nic

jcizel commented 9 years ago

Hi Nic,

Please try to update the data.table package to its latest version (v1.9.4, or the dev version 1.9.5, available at github). It appears that you currently have the version that does not support the fill argument in rbindlist function. Let me know, whether the package works for you after the update.

Thanks!

amobasheri commented 9 years ago

Hi there:

I am relatively new to R but have installed the devtool and followed your instructions on installing FredR and have an api key. But when I follow your instructions on Fred <- FredR(api.key) I get the error message : could not find function "FredR". Can you assist?