[ESS] .Rd file with unknown encoding

Stephen Eglen S.J.Eglen at damtp.cam.ac.uk
Fri Nov 7 11:00:31 CET 2008


hi John,

what version of emacs is it?

John Maindonald <John.Maindonald at anu.edu.au> wrote:

> R CMD check is complaining that a newly created .Rd
> file has unknown encoding.  I type
> 
> C-x C-m c utf-8 C-x C-s
> and am told that "no changes need to be saved".

what about saving it in something like 'undecided-unix'?  If it is just
an ascii file, that should be okay.

or, from a hint in gnu.emasc.bug from Eli Zaretskii:

        M-< 
        M-: (skip-chars-forward "\000-\177") RET 

and it should move forward to the first non-ascii char.

Stephen




More information about the ESS-help mailing list