[R] umlauts in Rd files

From: Robin Hankin <r.hankin_at_noc.soton.ac.uk>
Date: Wed 15 Jun 2005 - 21:13:21 EST


I'm having difficulty following the advice in section 2.7 of R-exts.

In one of my packages, there is a function called mobius().

I want to refer to it in the Rd file as the Möbius function, and to illustrate the
  Möbius inversion formula (just to be explicit: this is "Mobius" but with two dots over the second letter).

R-exts section 2.7 gives


as an example, but when I cut-and-paste this, the dvi file (as produced by R CMD Rd2dvi)
shows the umlauted "o" as A and Z with some diacritical marks, not the desired o with
two dots on.

Using \"{o} is fine for the dvi output but not the ascii output.

How do I put an umlauted "o" in an Rd file in such a way as to have a nice
ascii help page and nice dvi files?

Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
  tel  023-8059-7743

R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Jun 15 21:21:05 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:40 EST