Rev 47773 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{Rdiff}\alias{Rdiff}\title{Difference \R Output Files}\description{Given two \R output files, compute differences ignoring headers,footers and some encoding differences.}\usage{Rdiff(from, to)}\arguments{\item{from, to}{filepaths to be compared}}\details{The \R startup banner and any timing information from \command{R CMDBATCH} are removed from both files, together with lines aboutloading packages. UTF-8 fancy quotes (see \code{\link{sQuote}} and onWindows, Windows so-called \sQuote{smart quotes} are mapped to asimple quote. The files are then compared line-by-line. If there arethe same number of lines, a simple \command{diff}-like display ofdifferences is printed, otherwise \command{diff -bw} is called on theedited files.}\value{\code{0L} if no differences were found, otherwise \code{1L}}\seealso{The shell script run as \command{R CMD Rdiff}.}\keyword{utilities}