Norm Olsen, Pacific Biological Station, Fisheries and Oceans Canada, Nanaimo BC
Details
Creates a VB shell script file called clearRcon.vbs or focusRgui.vbs
in R's temporary working directory, then executes the script using the shell command.
While clearRcon clears the R console, focusRgui returns the desktop
focus back to the RGui window.
These commands will only work on Windows operating platforms, using the system's executable %SystemRoot%\system32\cscript.exe.