if (FALSE) {
# supposing that the data file sample.txt is in the current directory
file <- "sample.txt"
imp <- importTxtInternal(file)
# specifying a directory (arbitrary example directory)
dir <- "/Users/markheckmann/data"
imp <- importTxtInternal(file, dir)
# using a full path
imp <- importTxtInternal("/Users/markheckmann/data/sample.txt")
}
Run the code above in your browser using DataLab