Comments (1)
I think that this is intended for units which have some abbreviated symbol or are represented by a greek letter. For example:
> library(udunits2)
> ud.get.symbol('degreesC')
[1] "°C"
> ud.get.symbol('ohm')
[1] "Ω"
> ud.get.symbol('arc_minute')
[1] "′"
>
If that's not applicable, than the unit simply doesn't have a symbol. It just depends on what's in the XML units database. E.g.
<unit>
<def>(pi/180) rad</def>
<name><singular>arc_degree</singular></name>
<symbol comment="DEGREE SIGN">°</symbol>
<aliases>
<name><singular>angular_degree</singular></name>
<name><singular>degree</singular></name>
<name><singular>arcdeg</singular></name>
</aliases>
<definition>measurement of a plane angle representing 1/360 of a full rotation</definition>
</unit>
from rudunits2.
Related Issues (20)
- Dynamically Add and Remove Units HOT 2
- `ud.convert` error on vectors of size > 2^32
- udunits2 available for R version 3.3.2 on linux? HOT 1
- environment variable UDUNITS2_LIB/UDUNITS2_LIBS mismatch in configure HOT 1
- Add /usr/include/udunits2 to list of locations searched for udunits2.h HOT 4
- configure: UDUNITS2_LIB not fully considered during conftest procedure
- Undefined symbol: `ut_ignore` registration issue HOT 4
- Encoding issues on windows HOT 3
- Not sure which environment variable to set for libudunits2.so.0 HOT 8
- UDUNITS2_XML_PATH is ignored HOT 1
- #noob; not able to install udunits2 package for R in macOS 10.13.2 HOT 5
- Update package metadata DESCRIPTION
- if one of the unit name is NULL `ud.convert` crashes my R session HOT 3
- /usr/include/udunits2 is not found automatically or through Environment variable HOT 6
- ud.convert() can't handle different units in a vector/column
- libimf.so: cannot open shared object file: No such file or directory HOT 1
- Is this package still maintained? HOT 3
- Numerical inaccuracies
- Orphaned on CRAN
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rudunits2.