CollapsABEL (version 0.10.11)

readLiteral: Read a file literally (all columns as character)

Description

Read a file literally (all columns as character)

Usage

readLiteral(filename, ...)

Arguments

filename
Path of file to be read
...
Passed to read.table

Value

data.frame

Examples

Run this code
## Not run: 
# df = data.frame(x = c("T", "%T", "10341"), 
# 		y = c("F", "f%t", "431"), 
# 		z = c("T", "TRUE", "FALSE"))
# tmpf = tempfile()
# write.table(df, file = tmpf, quote = FALSE, 
# 		row.names = FALSE, col.names = FALSE)
# df1 = readLiteral(file = tmpf)
# all(df1 == df)
# ## End(Not run)

Run the code above in your browser using DataLab