Learn R Programming

reproducible (version 1.2.8)

basename2: A version of base::basename that is NULL resistant

Description

Returns NULL if x is NULL, otherwise, as basename.

Usage

basename2(x)

Value

Same as basename

Arguments

x

A character vector of paths