[Rd] [FORGED] Re: plotmath degree symbol

Paul Murrell
Tue, 04 Sep 2018 21:55:16 -0000

Hi

Thanks for that, but I still cannot confirm on ...

sudo docker run -v $(pwd):/home/work/ -w /home/work --rm -ti
rocker/r-ver:3.5.1

Could you please read the comments within the "Cairo Fonts" section of
the ?X11 help page, in case that offers some explanation.

Paul


On 29/08/18 02:15, Martin M?ller Skarbiniks Pedersen
wrote:
> On Fri, 24 Aug 2018 at 19:53, Edzer Pebesma
> <edzer.pebesma at uni-muenster.de> wrote:
>>
>> In plotmath expressions, R's degree symbol, e.g. shown by
>>
>> plot(1, main = parse(text = "1*degree*C"))
>>
>> has sunk to halfway the text line, instead of touching its top. In
older
>> R versions this looked much better.
>
> I can confirm this problem.
>
> R version 3.5.1 (2018-07-02)
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Ubuntu 18.04.1 LTS
>
> Matrix products: default
> BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
> LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1
>
> locale:
>   [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
>   [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
>   [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
>   [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
>   [9] LC_ADDRESS=C               LC_TELEPHONE=C
> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
>
> loaded via a namespace (and not attached):
> [1] compiler_3.5.1
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

--
Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
Auckland
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz