Re: [R] Rd files with unknown encoding?

From: Spencer Graves <spencer.graves_at_pdf.com>
Date: Sat, 15 Dec 2007 17:29:57 -0800

Dear Prof. Ripley:

      Thanks very much. I did as you suggested, which I'll outline here to make it easier for anyone else who might have a similar problem:

      The latter identified other uses of '<' but produced a sufficiently short list that I was able to find the problems fairly easily.

      Thanks again.
      Spencer Graves   

p.s. And in the future, I will refer 'Rd' questions to 'R-devel', per your suggestion.

Prof Brian Ripley wrote:
> On Wed, 12 Dec 2007, Spencer Graves wrote:
>
>
>> How can I identify the problem generating a warning in R CMD check
>> for "Rd files with unknown encoding"?
>>
>> Google identified an email from John Fox with a reply from Brian
>> Ripley about this last 12 Jun 2007.
>>
>
> But not on this list:
>
> https://stat.ethz.ch/pipermail/r-devel/2007-June/046055.html
>
> R-devel would have been more appropriate for this too.
>
>
>> This suggests that I may have accidentally entered some possibly
>> non-printing character into the offending Rd file. The message tells me
>> which file, but I don't know which lines in the file. Is there some way
>> of finding the offending character(s) without laboriously running R CMD
>> check after deleting different portions of the file until I isolate the
>> problem?
>>
>
> I did say so in that thread:
>
> https://stat.ethz.ch/pipermail/r-devel/2007-June/046061.html
>
> You can do much the same in R via iconv("", "C", sub="byte"), provided you
> can read the file in (it may not be representable in your current
> locale, but you could run R in a Latin-1 locale, if your OS has one).
>
>



R-help_at_r-project.org mailing list
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. Received on Sun 16 Dec 2007 - 01:37:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 17 Dec 2007 - 11:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.