Getsymbols google cannot download all files
SamoPP But you're using an older version of R 3. That version might not automatically attempt to switch to libcurl in order to follow a redirect.
If I run the above in terminal I get the error. If I run the same thing in RStudio it works Confirmed that this issue affects R 3. It works from RStudio, but fails when run from RScript.
Works for me on Ubuntu. Would be great to have confirmation it works on Windows and MacOS. Doesn't quite seem to work for Windows but I'm not an R guru so I could easily be mistaken. I'm running R 3. And got the following error: "Error in download. That was the same code that had worked prior to yesterday with the exception of the change in the yahoo url.
SamoPP Good catch. That's getSplits and getDividends. Will grep for all HTTP calls and patch them. So that's the likely cause of your issue, not the code in getSymbols. I still have Problems in R 3. Error in download. I just pushed a branch your username that replaces download. Already on GitHub? Sign in to your account.
Wrap download. General Electric. It would also be nice if a download. The text was updated successfully, but these errors were encountered:. That might be difficult however, because getSymbols currently groups symbols by source and calls getSymbols. So none of the symbols for a given source would have data if any one of the tickers in the getSymbols. It might be simple to just loop over the symbols in whatever order they're passed in, and call each method on the symbol.
Though I'm not sure the reason they're pulled in groups by source, and therefore a bit reluctant to change that. Sorry, something went wrong. Was going to open a new entry, but saw this one which is maybe the enhancement I was thinking about. Error: delisted download failed after two attempts. Error message: HTTP error Asked 4 years, 6 months ago. Active 4 years, 6 months ago. Viewed 4k times. Michael Kirchner 1 1 gold badge 5 5 silver badges 16 16 bronze badges.
Sakthi Velan Sakthi Velan 3 3 silver badges 10 10 bronze badges. Welcome to Stackoverflow, could you edit your post to include the code you are trying to execute. I solved that error. Now I am getting another error. Code: library quantmod options download. These errors because the web-address you are trying to access is down. To do so, open drive. You will be signed in with the default account.
Click on the profile picture at the top-right corner of the Drive screen. Your Google accounts will show up. Click on the one that you want to switch to. A new window will open where you are logged in with your second Google account. If you close the window and open the Google Drive website again, you will be logged in with the default account.
Repeat the steps to switch the Google account in Drive. Then try to download files with only one account registered in Chrome. Do you use ad blocker extensions on your browser? Disable any ad blocker or recently downloaded third-party extensions.
That should fix the issue. Similarly, if you are using an antivirus on your computer, disable it temporarily. See if you can download files from Google Drive. Sometimes, the issue is with a particular browser only. First, update the browser. While this is not a proper fix, use this method as a workaround if nothing else lets you download Google Drive files. Basically, when someone sends a Google Drive link to you, copy it and paste it in your browser's incognito mode. To open incognito mode in Chrome, click on the three-dot icon at the top-right corner.
Select the New Incognito window. Paste the link in the new window that opens. The same workaround can be used to download your own Google Drive files or folders as well. Right-click on the file that you want to download.