[R] Line numbers in Sweave

Duncan Murdoch murdoch.duncan at gmail.com
Tue Nov 2 23:09:02 CET 2010

On 02/11/2010 5:50 PM, Yihui Xie wrote:
> Hi,
> I thumbed through the source code Sweave.R but was unable to figure
> out when (under what conditions) R will insert the line numbers to the
> output. The R 2.12.0 news said:
>      • Parsing errors detected during Sweave() processing will now be
>        reported referencing their original location in the source file.
> Do we have any options to turn off this reporting? Thanks!

Sure:  just don't include any syntax errors.

Duncan Murdoch

More information about the R-help mailing list