[R] Special characters in an R package manual

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed May 23 09:23:38 CEST 2012


Do you mean in the .Rd files of your package?

On 23/05/2012 08:04, Özgür Asar wrote:
> Dear all,
>
> I have some trouble with special characters while building my R package. I
> tried to follow the usual LATEX format, but could not fix the problem:
>
> For instance, for "greater than or equal", I tried "\geq", but R says that
> this is an unknown macro.
>
> Could anyone direct me how to solve this issue?

Use \eqn for mathematical expressions: see 'Writing R Extensions'.  The 
Rd language is not LaTeX, but LaTeX can be used in the first expression 
of \eqn.

>
> Best
> Ozgur
>
> Ozgur ASAR
> Research Assistant
> Middle East Technical University
> Department of Statistics
> 06531, Ankara Turkey
> Ph: 90-312-2105309
> http://www.stat.metu.edu.tr/people/assistants/ozgur/


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list