Use a Windows shell folder widget to choose a folder interactively.
choose.dir(default = "", caption = "Select folder")
which folder to show initially.
the caption on the selection dialog.
This brings up the Windows shell folder selection widget. With the
default = "", ‘My Computer’ (or similar) is
To workaround a bug, on Vista and later only folders under ‘Computer’ are accessible via the widget.
A length-one character vector, character
‘Cancel’ was selected.
This is only available on Windows.
choose.files (on Windows) and
(on all platforms).
if (interactive() && .Platform$OS.type == "windows") choose.dir(getwd(), "Choose a suitable folder")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.