aborting the execution of a function...
This would be easy for you to test on a small example on your local computer. But the answer is "no". Nothing is assigned if the function does not return normally... and Ctrl+C is anything but normal.
On July 13, 2022 12:19:58 PM PDT, akshay kulkarni <akshay_e4 at hotmail.com> wrote:
Dear members,
I am running a large scraping code in a very powerful AWS ec2 instance:
DATES <- getFirms Dates()
It iterates over 500 stocks from a website. Despite the power of the machine, the execution is very slow.
If I abort the function (by ctrl + C), after, say 150th iteration, the DATES object will still contain the scraped data untill the 150th iteration, right? ( The rest of the 350 entries will be NA's, I suppose).
Many thanks in advance.....
Yours sincerely,
AKSHAY M KULKARNI
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Sent from my phone. Please excuse my brevity.