[R-sig-Geo] degAxis() does not print degree symbol

Edzer Pebesma edzer.pebesma at uni-muenster.de
Wed Jan 25 17:32:47 CET 2012


I think your question has little to do with sp, or with r-sig-geo. If
the command

plot(1); title(parse(text="52*degree*North"))

gives the same problem (no degree sign), I would advice searching, and
in case of no success posting to r-help, mentioning your locale.

On 01/25/2012 03:54 PM, Ricc wrote:
> I omitted the 'locale' part of the sessionInfo() but other infos were
> given in my first message as well as in my signature.
> Here is the 'locale' part:
> locale:
>  [1] LC_CTYPE=fr_FR.UTF-8          LC_NUMERIC=C
>  [3] LC_TIME=fr_FR.UTF-8           LC_COLLATE=fr_FR.UTF-8
>  [5] LC_MONETARY=fr_FR.UTF-8       LC_MESSAGES=fr_FR.UTF-8
>  [7] LC_PAPER=fr_FR.UTF-8          LC_NAME=fr_FR.UTF-8
>  [9] LC_ADDRESS=fr_FR.UTF-8        LC_TELEPHONE=fr_FR.UTF-8
> [11] LC_MEASUREMENT=fr_FR.UTF-8    LC_IDENTIFICATION=fr_FR.UTF-8
> 
> 2012/1/25 Edzer Pebesma-2 [via R-sig-geo]
> <ml-node+s2731867n7223985h99 at n2.nabble.com>:
>>
>>
>> On 01/25/2012 01:55 PM, Ricc wrote:
>>> Hello,
>>>
>>> Sorry to dig up this thread, but I am currently facing the same issue, ie
>>> I
>>> do not get the degree symbol on the plot but rather get a gamma symbol.
>>> - Do someone found a solution ?
>>> - Has it something to do with the encoding set up of my system ?
>>
>> It might help if you would tell us what your encoding is, as well as
>> operating system & version. On my system, it works. The sessionInfo
>> there is:
>>
>>> sessionInfo()
>> R version 2.14.1 (2011-12-22)
>> Platform: x86_64-pc-linux-gnu (64-bit)
>>
>> 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=C                 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
>>
>> other attached packages:
>> [1] rgdal_0.7-5 sp_0.9-94
>>
>> loaded via a namespace (and not attached):
>> [1] grid_2.14.1    lattice_0.20-0
>>
>>
>>
>>> Thanks !
>>>
>>> My script:
>>> library(rgdal)
>>> my_lines <- readOGR(".","ShapefileName")
>>> plot(my_lines, axes=TRUE)
>>>
>>>> sessionInfo()
>>> attached base packages:
>>> [1] stats     graphics  grDevices utils     datasets  methods   base
>>> other attached packages:
>>> [1] rgdal_0.7-8  sp_0.9-93    rkward_0.5.6
>>> loaded via a namespace (and not attached):
>>> [1] grid_2.14.1    lattice_0.20-0 tools_2.14.1
>>>
>>> -----
>>> R version 2.14.1 (2011-12-22)
>>> Platform: x86_64-pc-linux-gnu (64-bit)
>>> --
>>> View this message in context:
>>> http://r-sig-geo.2731867.n2.nabble.com/degAxis-does-not-print-degree-symbol-tp5621450p7223684.html
>>> Sent from the R-sig-geo mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> R-sig-Geo mailing list
>>> [hidden email]
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>> --
>> Edzer Pebesma
>> Institute for Geoinformatics (ifgi), University of Münster
>> Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
>> 8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
>> http://www.52north.org/geostatistics      [hidden email]
>>
>> _______________________________________________
>> R-sig-Geo mailing list
>> [hidden email]
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>>
>>
>> ________________________________
>> If you reply to this email, your message will be added to the discussion
>> below:
>> http://r-sig-geo.2731867.n2.nabble.com/degAxis-does-not-print-degree-symbol-tp5621450p7223985.html
>> To unsubscribe from degAxis() does not print degree symbol, click here.
>> NAML
> 
> 
> -----
> R version 2.14.1 (2011-12-22)
> Platform: x86_64-pc-linux-gnu (64-bit)
> --
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/degAxis-does-not-print-degree-symbol-tp5621450p7223997.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763  http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics      e.pebesma at wwu.de



More information about the R-sig-Geo mailing list