On Wed, 18 Oct 2006, Seth Falcon wrote: > Seth Falcon <[EMAIL PROTECTED]> writes: > >> Peter Dalgaard <[EMAIL PROTECTED]> writes: >>> Er, do you have a minimal example showing the behaviour? It's not >>> quite clear whether you have this happening everywhere or only in >>> example sections, formulas or...? >> >> Oups. The example I was looking at has \_ in a number of places in >> the Rd files so perhaps the warning is correct (in which case, my >> apologies for the noise). >> >> I'll look into it further. >> >> Of course it would be easier to detect this if the warning message >> gave more information about where the problem was encountered ;-) > > Just to complete the thread: I was wrong, R was warning about > unrecognized escape sequences in example and usage sections, not > documentation text.
This warning comes from the parser, and only when parsing quoted strings. That is why it is hard to give any more information about where the error is: the parser does not know much about where in the input it is. (You can't even easily give the current string as you are in the middle of parsing it: I am working on that one.) > > Sorry for the noise. > > + seth > > ______________________________________________ > R-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel > -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595 ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel