\HeaderA{tk\_choose.dir}{Choose a Folder Interactively}{tk.Rul.choose.dir}
\keyword{file}{tk\_choose.dir}
\begin{Description}\relax
Use a Tk widget to choose a directory interactively.
\end{Description}
\begin{Usage}
\begin{verbatim}
tk_choose.dir(default = "", caption = "Select directory")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{default}] which directory to show initially.
\item[\code{caption}] the caption on the selection dialog.
\end{ldescription}
\end{Arguments}
\begin{Value}
A length-one character vector, character \code{NA} if
\sQuote{Cancel} was selected.
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{tk\_choose.files}{tk.Rul.choose.files}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}## Not run: 
tk_choose.dir(getwd(), "Choose a suitable folder")
## End(Not run)\end{ExampleCode}
\end{Examples}

