[R-SIG-Finance] getSymbols for FRED in quantmod has stopped working???
roger.bos at rothschild.com
Mon Jul 6 16:49:30 CEST 2015
I just about to post a question about this. I ended up fixing it an easy way as well, by adding this line:
I just don't know why or what exactly it does.
This message and any attachments are for the intended recipient's use only.
This message may contain confidential, proprietary or legally privileged
information. No right to confidential or privileged treatment
of this message is waived or lost by an error in transmission.
If you have received this message in error, please immediately
notify the sender by e-mail, delete the message, any attachments and all
copies from your system and destroy any hard copies. You must
not, directly or indirectly, use, disclose, distribute,
print or copy any part of this message or any attachments if you are not
the intended recipient.
From: R-SIG-Finance [mailto:r-sig-finance-bounces at r-project.org] On Behalf Of Paul Gilbert
Sent: Friday, July 03, 2015 7:11 PM
To: r-sig-finance at r-project.org
Subject: Re: [R-SIG-Finance] getSymbols for FRED in quantmod has stopped working???
The discussion on R-pkg-devel has been about how to fix default download.file behaviour that has previously worked on all platforms, and is now broken by a very recent change at the St Louis Fed. A method working a few days ago would not be a guarantee that it still works.
Before people go overboard changing their workflow, let me point out that this can likely be fixed by a user setting
See ?download.file for more options, which will be platform specific (but maybe not as specific as using an excel macro).
The package developer problem is slightly different. That problem, the problem that Joshua is working on, is that the default method no longer works. So either the default method has to be fixed or users need to be directed to some solution that will depend on their platform.
On 07/03/2015 12:05 PM, Daniel Melendez wrote:
> As a suggestion ( although not that efficient ) there is an excel
> macro that can download the information. I'm not sure if you're aware
> of it or not but just thought I'd mention it just in case.
> On Fri, Jul 3, 2015 at 10:30 AM, Joshua Ulrich
> <josh.m.ulrich at gmail.com>
>> On Fri, Jul 3, 2015 at 3:17 AM, Alexander Gracian
>> <agracian at yahoo.co.uk>
>>> I have started getting an error when using getSymbols for FRED in
>> quantmod. It was working fine a few weeks ago. I'm using R on a Mac:
>>> getSymbols("CPIAUCSL", src="FRED")Error in
>> "/", Symbols[[i]], "/", "downloaddata/", : cannot open URL '
>>> If I paste the URL in the error message into a browser it downloads
>> csv fine, so I think the url is ok.It also works ok for other
>> sources, such as yahoo etc.
>> The FRED http:// URLs now redirect to https://. That causes issues
>> with the default method for download.file on some platforms. I'm
>> aware of the issue and working on a fix.
>> See the conversation on R-package-devel if you're interested in the
>>> Any insights would be appreciated.
>>> [[alternative HTML version deleted]]
>>> R-SIG-Finance at r-project.org mailing list
>>> -- Subscriber-posting only. If you want to post, subscribe first.
>>> -- Also note that this is not the r-help list where general R
>> should go.
>> Joshua Ulrich | about.me/joshuaulrich FOSS Trading |
>> R-SIG-Finance at r-project.org mailing list
>> -- Subscriber-posting only. If you want to post, subscribe first.
>> -- Also note that this is not the r-help list where general R
>> questions should go.
R-SIG-Finance at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should go.
More information about the R-SIG-Finance