[Rd] [FORGED] Re: plotmath degree symbol

Edzer Pebesma edzer@pebe@m@ @ending from uni-muen@ter@de
Wed Sep 5 09:46:25 CEST 2018


Thanks, Paul -- setting the ~/.fonts.conf file the way ?X11 describes it
under the section you pointed to resolved the problem for me, on ubuntu.

On 09/04/2018 11:55 PM, Paul Murrell wrote:
> 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 using 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 using r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
> 

-- 
Edzer Pebesma
Institute for Geoinformatics
Heisenbergstrasse 2, 48151 Muenster, Germany
Phone: +49 251 8333081


More information about the R-devel mailing list