我将使用 EDGAR 包在 R 中为几家公司下载 2005 10-Ks。我有一个迷你循环来测试哪个有效:
for (CIK in c(789019, 777676, 849399)){
getFilings(2005,CIK,'10-K')
}
但是,每次运行时,我都会收到是/否提示,我必须输入“是”:
Total number of filings to be downloaded=1. Do you want to download (yes/no)? yes
Total number of filings to be downloaded=1. Do you want to download (yes/no)? yes
Total number of filings to be downloaded=1. Do you want to download (yes/no)? yes
如何提示 R 为每次运行回答“是”?谢谢