Skip to main content

builtin_basename

Function builtin_basename 

Source
fn builtin_basename(
    args: &[RValue],
    _: &[(String, RValue)],
) -> Result<RValue, RError>
Expand description

Extract the file name from paths.

Vectorized over path.

@param path character vector of file paths @return character vector containing the base file names