[R-pkg-devel] ω, α, η, ² in .Rd files

Jonathon Love jon at thon.cc
Fri Feb 10 03:19:13 CET 2017


hi,

i'm trying to include some greek characters in my package documentation, 
but am having difficulty getting it to work on windows. it works find on 
macOS, linux, but throws errors on windows:

https://win-builder.r-project.org/guwReC6lhQaU/00check.log

so far i have tried:

ω
\u03C9
\omega
\eqn{\omega}
\symbol{"03C9}
\enc{ω}{omega}

i have `Encoding: UTF-8` specified in my DESCRIPTION

i have read:

https://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Encoding-issues
https://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Encoding
https://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Insertions

any tips on how to get these symbols into documentation on windows? i'd 
even by happy with it just saying 'omega' on windows (which is what i 
thought \enc{}{} was supposed to do).

apparently i'm missing something.

with thanks

jonathon



More information about the R-package-devel mailing list