% File src/library/base/man/file.choose.Rd
% Part of the R package, https://www.R-project.org
% Copyright 1995-2008 R Core Team
% Distributed under GPL 2 or later

\name{file.choose}
\alias{file.choose}
\title{Choose a File Interactively}
\description{
 Choose a file interactively.
}
\usage{
file.choose(new = FALSE)
}
\arguments{
 \item{new}{Logical: choose the style of dialog box
     presented to the user: at present only new = FALSE is used.}
}
\value{
  A character vector of length one giving the file path.
#ifdef windows
  This will be a marked UTF-8 string, as a Unicode file selection dialog
  box is used.
#endif
}

\seealso{\code{\link{list.files}} for non-interactive selection.
#ifdef windows
\code{\link{choose.files}} for selecting multiple files interactively.
#endif
}
\keyword{file}
