This function allows you to tile or cascade windows, or to minimize or
restore them (on Windows, i.e. when
(.Platform$OS.type == "windows")).
This may include windows not “belonging” to R.
a character string, the action to perform on the
windows. The choices are
This argument is only used in MDI mode. If
The actions are as follows:
Cascade the windows.
Minimize all of the windows.
Restore all of the windows to normal size (not minimized, not maximized).
The tiling and cascading are done by the standard Windows API functions, but unlike those functions,
they will apply to all of the windows in the
windows is set to the result of
getWindowsHandles() (with one exception described
below). This will select windows belonging to the current R process.
However, if the global environment contains a variable named
.arrangeWindowsDefaults, it will be used as the argument list
instead. See the
getWindowsHandles man page for a
discussion of the optional arguments to that function.
action = "restore" is used with
minimized = TRUE is added to the argument list of
getWindowsHandles so that minimized windows will be restored.
In MDI mode, by default tiling and cascading will happen within the R
GUI frame. However, if
outer = TRUE, tiling is done on the system
desktop. This will generally not give desirable results if any R child
windows are included within
This function is called for the side effect of arranging the windows. The list of window handles is returned invisibly.
This is only available on Windows.
1 2 3 4 5 6 7 8
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.