basename {file} R Documentation

removes all of the path up to and including the last path separator (if any).

Description

Usage

basename(fileNames,
    withExtensionName = FALSE,
    strict = Call "as.logical"(Call "getOption"("strict")));

Arguments

fileNames

character vector, containing path names. [as string]

withExtensionName

option for config keeps the extension suffix in the name or not, removes the file suffix name by default. [as boolean]

Details

Authors

SMRUCC genomics Institute

Value

this function returns data object of type string.

clr value class

Examples


[Package file version 2.33.856.6961 Index]