Dear expeRts, Hi, when i using gmailr through Rscript ?got the following error : oauth_listener() needs an interactive environment But when i using the Rstudio it worked. Does the function?gmail_auth(filepath,"full") support the Rscript way ?? I need run it in a windows schdual task. TKS? -- PO SU mail: desolator88 at 163.com Majored in Statistics from SJTU