Skip to contents

This function extracts file headers from files. Recommended is to use this function with the results from extractFilenames

Usage

fileHeaderPrompt(filenames)

Arguments

filenames

list containing file names.

Value

A string containing the file headers of the files in "filenames" list

Examples

if (FALSE) { # \dontrun{
prompt <- "how do I perform PCA on data in a file called test.txt?"
filenames <- extractFilenames(prompt)
fileHeaderPrompt(filenames)
} # }