I'm trying to create a bat
file that will do a web search of a company ticker and then email the .txt
file output. I'm currently using this line in the .bat
file:
@echo off R CMD BATCH \\PERFILE01\PER1_MyDocs3\W47382\Desktop\R_Automation\WebCorpus_run.R
When I run the file, the following error appears: 'R' is not recognized as an internal or external command, operable program or batch file.
I realize there are many others with the same issue, however I am still yet to resolve mine.