omegahat / RDCOMClient

GNU General Public License v2.0
80 stars 35 forks source link

Failed to create COM object: Server execution failed Outlook.Application when run from Windows Task Scheduler #39

Open rventuradiaz opened 2 years ago

rventuradiaz commented 2 years ago

I created a batch file that run a R script file using RScript.exe. I worked fine when launched from command line. When scheduled using task scheduler in Windows 10, then failed throwing error: Error in COMCreate(guid, existing = FALSE) : Failed to create COM object: Server execution failed Calls: send_bet -> COMCreate -> getCOMInstance -> COMCreate

I am using R-4.0.3 and packag RDCOMClient version 0.95-0 This preventing automating executions Would you please advise what is occurring? Thanks and best regards,