R: Initialize the UDUNITS Library

utinit.nc {RNetCDF} | R Documentation

## Initialize the UDUNITS Library

### Description

Initialize the UDUNITS library.

### Usage

    utinit.nc(path="")

### Arguments

`path` | Path to a units file containing initializing unit definitions.

### Details

This function initializes the UDUNITS library. It is called by `.First.lib` when the package is loaded. Normally, the user does not need to call this function.

If path is non-NULL and not empty, then it specifies a units file containing initializing unit definitions; otherwise, the environment variable `UDUNITS_PATH` is checked and, if it exists and is not empty, then it is assumed to contain the pathname of the units file; otherwise, a compile-time default pathname is used.

### Author(s)

Pavel Michna

### References

http://www.unidata.ucar.edu/software/udunits/

### Examples

    ##  NOTE: The user will normally never need to call this function
    utinit.nc()

[Package RNetCDF version 1.9-1 Index]