Hello Sir, I am facing a common problem in R. I have searched a lot but nobody gives a proper way. The problem is : when I am tying to check my package in R created by me it shows an error given below * 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 (U+9D) (inputenc) not set up for use with LaTeX.>See the inputenc package documentation for explanation.Type H <return> for immediate help. ! Package inputenc Error: Unicode char (U+9D) (inputenc) not set up for use with LaTeX.>See the inputenc package documentation for explanation.Type H <return> for immediate help. ! Package inputenc Error: Unicode char (U+9D) (inputenc) not set up for use with LaTeX. I found this is a common problem for each novice who are trying create their won package. But I unable to find any proper solution. Please help me . Thank you very much regards Pijush [[alternative HTML version deleted]]
The specific error message you are getting says that there are non-ASCII characters in one of your .Rd files. You can locate them with the tools::showNonASCII function. library(tools) ?showNonASCII Replace them with ASCII characters and the packaging should work. If you really need the non-ASCII characters see the "Writing R Extensions" manual at system.file("../../doc/manual/R-exts.pdf") and read the sections on Encoding. On Tue, Dec 6, 2016 at 1:20 AM, Pijush Das <topijush at gmail.com> wrote:> Hello Sir, > > I am facing a common problem in R. I have searched a lot but nobody gives a > proper way. The problem is : when I am tying to check my package in R > created by me it shows an error given below > > * 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 (U+9D) > (inputenc) not set up for use with LaTeX. > >>See the inputenc package documentation for explanation. > Type H <return> for immediate help. > ! Package inputenc Error: Unicode char (U+9D) > (inputenc) not set up for use with LaTeX. > >>See the inputenc package documentation for explanation. > Type H <return> for immediate help. > ! Package inputenc Error: Unicode char (U+9D) > (inputenc) not set up for use with LaTeX. > > > I found this is a common problem for each novice who are trying create > their won package. But I unable to find any proper solution. > > Please help me . > > Thank you very much > > regards Pijush > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.
This is not really an R problem but a TeX one. Apparently, your input file contains Unicode characters that LaTeX doesn't know what to do with. That raises the suspicion is that the file might not be in UTF-8 encoding at all, however tan kind of issue does occasionally happen, even in UTF-8, if you "fat-finger" certain special characters - the per mille symbol on Shift-Alt-5 on a Mac sometimes catches me out when attempting to type "\%" (== Shift-Alt-7 Shift-5 on a Danish keyboard). However, I don't know how to get U+9D speecifically; it seems to be unallocated in all the major code sets. You need to locate the file with the problem and the offending line inside of it and inspect. -pd On 06 Dec 2016, at 07:20 , Pijush Das <topijush at gmail.com> wrote:> Hello Sir, > > I am facing a common problem in R. I have searched a lot but nobody gives a > proper way. The problem is : when I am tying to check my package in R > created by me it shows an error given below > > * 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 (U+9D) > (inputenc) not set up for use with LaTeX. > >> See the inputenc package documentation for explanation. > Type H <return> for immediate help. > ! Package inputenc Error: Unicode char (U+9D) > (inputenc) not set up for use with LaTeX. > >> See the inputenc package documentation for explanation. > Type H <return> for immediate help. > ! Package inputenc Error: Unicode char (U+9D) > (inputenc) not set up for use with LaTeX. > > > I found this is a common problem for each novice who are trying create > their won package. But I unable to find any proper solution. > > Please help me . > > Thank you very much > > regards Pijush > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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.-- Peter Dalgaard, Professor, Center for Statistics, Copenhagen Business School Solbjerg Plads 3, 2000 Frederiksberg, Denmark Phone: (+45)38153501 Office: A 4.23 Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
What operating system? It is very unlikely anyone will offer help in the darkness. JN On 16-12-06 01:20 AM, Pijush Das wrote:> Hello Sir, > > I am facing a common problem in R. I have searched a lot but nobody gives a > proper way. The problem is : when I am tying to check my package in R > created by me it shows an error given below > > * 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 (U+9D) > (inputenc) not set up for use with LaTeX. > >> See the inputenc package documentation for explanation. > Type H <return> for immediate help. > ! Package inputenc Error: Unicode char (U+9D) > (inputenc) not set up for use with LaTeX. > >> See the inputenc package documentation for explanation. > Type H <return> for immediate help. > ! Package inputenc Error: Unicode char (U+9D) > (inputenc) not set up for use with LaTeX. > > > I found this is a common problem for each novice who are trying create > their won package. But I unable to find any proper solution. > > Please help me . > > Thank you very much > > regards Pijush > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >