From murdoch.duncan at gmail.com  Wed Nov 14 16:24:18 2012
From: murdoch.duncan at gmail.com (Duncan Murdoch)
Date: Wed, 14 Nov 2012 10:24:18 -0500
Subject: [Rd] accented charatchers in a package manual
In-Reply-To: <CAJPXubXxm956Roscu8x9L+Emb9tiX3P5u1+G1pQFYiCVxM+7Vw@mail.gmail.com>
References: <CAJPXubXxm956Roscu8x9L+Emb9tiX3P5u1+G1pQFYiCVxM+7Vw@mail.gmail.com>
Message-ID: <50A3B7A2.3090604@gmail.com>

On 14/11/2012 9:22 AM, Denis Talbot wrote:
> Dear list,
>
> I am writing an R package manual and there is still a warning when I run "R
> CMD check" about "NON-ASCII contents without declared encoding". I do get
> the warning comes from an accent in the name of one of the author
> (Genevi?ve), but I can't find what I am supposed to do about it. I know
> there is a section about encoding in the "Writing R extension" manual, but
> I couldn't understand what I should do from reading it.
>
> Any help is welcomed.
>

You need to declare what encoding you are using.  Put a line in your 
DESCRIPTION file like

Encoding:  utf-8

If you don't know what encoding you are using, you can probably find out 
by reading the docs for your text editor, or just guess:  If you are on 
Windows it is likely latin1, on Linux it is likely utf-8.  If you guess 
wrong you'll get errors or ugly text when R produces the manual.

Duncan Murdoch



[Rd] accented charatchers in a package manual
Duncan Murdoch