79723206

Date: 2025-08-02 08:15:22
Score: 1
Natty:
Report link

You can not directly run a .exe as administrator via shell() in R because it doesn't elevate privileges.

Use PowerShell to prompt UAC

shell('powershell Start-Process "C:\\Path\\To\\your.exe" -Verb RunAs')

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pradeep Kumar Yadav