Skip to content
Prev 13869 / 398502 Next

Tildes in R docmentation.

This is widely used in the system help files. See e.g lm.Rd which has
\code{response ~ terms}.

That works in text, html and latex (how do you think we get a reference
manual made?).

\textasciitilde is a standard part of latex (in file latex.ltx).  The
feature was introduced in the 1995/12/01 release (see the usrguide.tex) so
it looks as if your latex is more than 5 years' old, or broken.

[...]
That's not what {} means.  It's an empty token to escape the following
space.  (la)tex does not use {} to introduce arguments.
You do need a reasonably recent fully functional latex system.  Probably no
more than a couple of years' old (we don't have ancient installations
around to test).

[...]