| clearRcon {PBSmodelling} | R Documentation |
Clear the R console window using a Visual Basic shell script.
clearRcon(os=.Platform$OS.type)
os |
operating system (e.g., "windows", "unix"). |
Creates a VB shell script file called clearRcon.vba in R's temporary
working directory, then executes the script using the shell command.
Similarly, focusRcon() gives the focus to the R console window by
creating a Visual Basic shell script called focusRgui.vba in R's
temporary working directory, then executes it using the shell command.
These commands will only work on Windows operating platforms,
using the system's executable
%SystemRoot%\system32\cscript.exe.
Norm Olsen, Pacific Biological Station, Nanaimo BC
cleanWD, clearPBSext, clearWinVal