Learn R Programming

IGM.MEA (version 0.3.4.1)

get.file.basename: get.file.basename

Description

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

Usage

get.file.basename(filename)

Arguments

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

Value

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

Details

filename must have file extension '.RData'.

Examples

Run this code

data("S") # load data
get.file.basename(S$file)

Run the code above in your browser using DataLab