https://github.com/cran/SoDA
Revision abb11e53fd1d4cd6d80e90fa5a000adda65fe209 authored by jmc on 14 July 2008, 00:00:00 UTC, committed by Gabor Csardi on 14 July 2008, 00:00:00 UTC
1 parent 9e5b9bb
Raw File
Tip revision: abb11e53fd1d4cd6d80e90fa5a000adda65fe209 authored by jmc on 14 July 2008, 00:00:00 UTC
version 1.0-3
Tip revision: abb11e5
localRFiles.Rd
\name{localRFiles}
\alias{localRFiles}
\alias{menuRFile}
\title{The R source files in the local directory}
\description{
  Returns the names of the R source files in a directory, by default the current working directory.
}
\usage{
localRFiles(directory = getwd(), suffix = "[.][RSq]$", ask = FALSE)
}
\arguments{
  \item{directory}{ Where to look, by default the directory in which R is currently running}
  \item{suffix}{Regular expression to identify R source files.}
  \item{ask}{If \code{TRUE}, uses the menu function to prompt the user for one of the local R files or  to enter a file name.}
}
\value{
  The character vector of matching file names.

\code{menuRFile} 
}
\author{John M. Chambers}
\examples{
## all the example files for this package
localRFiles(system.file("R-ex",package="SoDA"))
}
\keyword{programming}

back to top