There are multiple ways to interact with and control some Windows functionality using R, such as:
•system() and shell() function
•system2() function
•processx package
•PowerShell
•win32api via
There are multiple ways to interact with and control some Windows functionality using R, such as:
•system() and shell() function
•system2() function
•processx package
•PowerShell
•win32api via package reticulate
•WMI (Windows Management Instrumentation)
The subsequent analysis includes their pros and cons, respective code examples and some references to bibliography and documentation.
Johann Markus Schauerhuber
During his studies and academic resp. professional activities Prof. Dr. Dr. Johann Markus Schauerhuber has been intensively involved in statistical programming, stochastic, risk theory, simulation and mathematical modeling.
Most of his professional experience has been gained in the university domain as an academic director, postdoc lecturer / researcher and in government authorities.
Email: jm_schauerhuber@gmx.at