1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Do not modify this file since it was automatically generated from:
%
% typeOfRnw.R
%
% by the Rdoc compiler part of the R.oo package.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\name{typeOfRnw}
\alias{typeOfRnw.default}
\alias{typeOfRnw}
\title{Checks whether an Rnw file is a Sweave or a knitr file}
\description{
Checks whether an Rnw file is a Sweave or a knitr file.
}
\usage{
\method{typeOfRnw}{default}(filename, path=NULL, default="application/x-sweave", ...)
}
\arguments{
\item{filename, path}{The filename and (optional) path of the Rnw file.}
\item{default}{A \code{\link[base]{character}} string specifying the default result.}
\item{...}{Not used.}
}
\value{
Returns a \code{\link[base]{character}} string.
}
\author{Henrik Bengtsson}
\seealso{
TBA.
}
\keyword{file}
\keyword{IO}
\keyword{internal}
|