Execute Windows CMD command (PowerShell) from R script

Here is an example of how to execute the Windows CMD command or PowerShell from R script. You can run cmd.exe by using the system function, and input might be something that you can run in CMD.

Exit mobile version