get_file_basename: get_file_basename

Description Usage Arguments Details Value Author(s) Examples

View source: R/utils.R

Description

Retreives the first 4 character strings separated by '_' from from a file path to a .RData object.

Usage

1

Arguments

filename

a file name or full file path. filename must have file extension '.RData'.

Details

filename must have file extension '.RData'.

Value

Returns the first 4 character strings separated by '_' from from a file path to a .RData object.

Author(s)

Diana Hall

Examples

1
2
data("S") # load data
get_file_basename(S$file)

meaRtools documentation built on May 1, 2019, 7:32 p.m.