Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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'.

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

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

meaRtools

Micro-Electro Array (MEA) Analysis

v1.0.4
GPL (>= 3)
Authors
Quanli Wang [aut, ctb], Sahar Gelfman [aut, ctb, cre], Diana Hall [aut, ctb], Ryan Dhindsa [aut, ctb], Matt Halvorsen [aut, ctb], Ellese Cotterill [aut, ctb], Tom Edinburgh [aut, ctb], Stephen J. Eglen [aut, ctb, ths]
Initial release
2018-7-1

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.