valid.mode: Return a valid mode given digits

Description Usage Arguments Value Author(s) Examples

View source: R/util.R

Description

Return a valid mode given digits

Usage

1
valid.mode(mode, digits = 4)

Arguments

mode

character, the mode of the path, see dir.create.

digits

numeric, either 3 or 4.

Value

mode

Author(s)

Xiaobei Zhao

Examples

1
2
valid.mode("777",4)
valid.mode("0777",3)

Xmisc documentation built on May 29, 2017, 9:58 p.m.

Search within the Xmisc package
Search all R packages, documentation and source code