Displaying 3 results from an estimated 3 matches for "bhavcopi".
Did you mean:
bhavcopy
2007 Oct 16
1
try / tryCatch for download.file( ) within a for loop when URL does not exist
I am trying to download a bunch of files from a server, for which I am
using download.file( ) within a for loop. The script is working fine
except until download.file hits a URL which has no file, at which
point it exits. I want to change this behavior to simple log the
failure and maintain state within the for loop and iterate to next. I
read about try / tryCatch but am having trouble
2017 Aug 03
1
Strange behaviour to download zip file using R
Hi again,
I was trying to download stock market data from below link :
https://www.nseindia.com/products/content/equities/equities/archieve_eq.htm
Input choice :
Select Report: Bhavcopy
Date(DD-MM-YYYY): 03-03-2010
If you put manual input as above, then we will get option for manual
download of file :
cm03MAR2010bhav.csv.zip
However I then tried to use R to have some automatic download :
2007 Oct 15
1
String concatenation, File Path Handling to pass to download.file( ) [backslash in DOS paths]
Gabor,
Thanks much. Your solution is elegant. My overall scheme is to take
present date, and check whether it is a weekend, if not, then create a
string based on the date, to concatenate into a url link for
download.file( ). The files I need to download have a part which is in
the format: mmddyy. I am working to make myself a system to connect to
exchanges, and download end of day files from