A generic function returning a vector with the names of files in the same directory. Removes the file extension

name_of_files(i)

Arguments

i

- a list filenames with .txt or .gpr extension

Value

a list of file names

name

Examples

name_of_files("KK2-06.txt")
#> [1] "KK2-06"