[R] Unwanted unicode
Marc Schwartz
marc_schwartz at me.com
Thu Jun 4 22:00:55 CEST 2015
On Jun 4, 2015, at 12:56 PM, Therneau, Terry M., Ph.D. <therneau at 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
More information about the R-help
mailing list