ch.mergeDataInDir | R Documentation |
This function merges all the files in a directory.
ch.mergeDataInDir(
directoryName,
outputFile,
extension = ".dat",
sep = "\t",
header = T,
...
)
directoryName |
this is a string that specifies the name of the directory containing the datafiles. |
outputFile |
this is a string that specifies the name of the merged output file. |
extension |
this is a string that specifies extensions of the files to be merged. DEFAULT = ".dat" |
sep |
this is a string that specifies the how the columns in the files are separated. DEFAULT = tab |
header |
this is a boolean that specifies whether column headers are present. DEFAULT = T |
nothing (a file is written)
ch.mergeDataInDir ("data", "out.txt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.