fileHeaderPrompt {mergen}R Documentation

Extract file headers from files in prompt

Description

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

## Not run: 
prompt <- "how do I perform PCA on data in a file called test.txt?"
filenames <- extractFilenames(prompt)
fileHeaderPrompt(filenames)

## End(Not run)

[Package mergen version 0.2.1 Index]