On Jun 4, 2015, at 12:56 PM, Therneau, Terry M., Ph.D. <thern...@mayo.edu> 
wrote:
> 
> I'm checking the survival package and get the following error. How do I find 
> the offending line?  (There are a LOT of files in the man directory.)
> 
> Terry T.
> 
> ------------------
> 
> * checking PDF version of manual ... WARNING
> LaTeX errors when creating PDF version.
> This typically indicates Rd problems.
> LaTeX errors found:
> ! Package inputenc Error: Unicode char \u8:‑ not set up for use with LaTeX.


Terry, 

One possible option:

  require(tools)

  sapply(list.files(path = “Path/To/Your/RD/Files", pattern = ".Rd"), 
         showNonASCIIfile)

See ?list.files and ?showNonASCIIfile

Regards,

Marc Schwartz

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to