[R-SIG-Finance] economagic Import - error message

Yohan Chalabi chalabi at phys.ethz.ch
Thu Apr 17 08:33:15 CEST 2008


>>>> "S" == "stephen" <mail at xesoftware.com.au>
>>>> on Thu, 17 Apr 2008 11:41:40 +1000

   S> > # save a download to a data file
   S> > file = 'fedfunds.csv'
   S> > source = 'http://www.economagic.com/em-cgi/data.exe/'
   S> > query = 'fedst1/fedfunds+2'
   S> > # download
   S> > economagicImport(file, source, query)
   S> Error in download.file(url = url, destfile = file, method =
   S> method) :
   S> unsupported URL scheme
   S> [1] "No Internet Access"

there is a typo in your query. It should be
query = 'fedstl/fedfunds+2'

and your arguemnts in economagicImport are not in the correct order...
?economagicImport

regards,
Yohan 

-- 


The 2nd International R/Rmetrics User and Developer Workshop ...
[http://www.rmetrics.org]



More information about the R-SIG-Finance mailing list