[Rd] Encoding issues

Gábor Csárdi c@@rd|@g@bor @end|ng |rom gm@||@com
Mon Feb 18 17:46:53 CET 2019


On Mon, Feb 18, 2019 at 4:42 PM Iñaki Ucar <iucar using fedoraproject.org> wrote:
>
> On Mon, 18 Feb 2019 at 17:27, Gábor Csárdi <csardi.gabor using gmail.com> wrote:
> >
> > From "Writing R Extensions":
> >
> > "Only ASCII characters (and the control characters tab, formfeed, LF
> > and CR) should be used in code files."
> >
> > So I am afraid you cannot use μm.
>
> Thanks, Gábor, I missed that bit. Then, is an .Rd file considered a
> "code file"? Our surprise comes from the fact that the quoted version
> works fine in a test file, but not in an example. Anyway, if they
> cause such a documented trouble, it seems that the safest option is to
> avoid its use in the first place.

I don't think an Rd file is considered a code file, but you might have
problems there as well, as I believe that Rd files are manipulated in
the local encoding.

Gabor

>
> Iñaki



More information about the R-devel mailing list