Skip to content
Prev 317877 / 398502 Next

mtext unicode failure

On 19/02/2013, r-help-request at r-project.org
<r-help-request at r-project.org> wrote:
GNU/Linux; obtained locale settings like so:

Sys.localeconv()
    decimal_point     thousands_sep          grouping   int_curr_symbol
              "."                ""                ""            "GBP "
  currency_symbol mon_decimal_point mon_thousands_sep      mon_grouping
              "?"               "."               ","        "\003\003"
    positive_sign     negative_sign   int_frac_digits       frac_digits
               ""               "-"               "2"               "2"
    p_cs_precedes    p_sep_by_space     n_cs_precedes    n_sep_by_space
              "1"               "0"               "1"               "0"
      p_sign_posn       n_sign_posn
              "1"               "1"

The unicode was in the 'mtext...' command, but it seems that the
mailing list server does not accept UTF-8. Tried to set this encoding:

postscript([filename],encoding='UTF-8',...)
Error in postscript([filename], encoding = "UTF-8",  :
  failed to load encoding file in postscript()
In addition: Warning message:
In postscript([filename], encoding = "UTF-8",  :
  failed to load encoding file 'UTF-8'
Thanks, the result is adequate, although the position of the subscript
doesn't look pleasing personally.