Usage
guess.sep(file.name, numLine = 5, seps = "", isFile = TRUE)
guess.header(twoLines, sep)
find.type(file.name, sep, header = FALSE, numLine = 5, isFile = TRUE)
charOrNum(vect)
getRowNames(file.name, sep, header, skip)
Arguments
file.name
file.name
a character string for the name of
the file of interests
numLine
n
an integer or character indicating the total number
of lines to be read from the file for making the determination
seps
seps
a vector of characters of potential delimiters
to be used to make the determination. Default delimiters include " ",
",", ";", and "\t". Anything inaddition to the default will have to
be included in seps
twoLines
twoLines
a vector of character string including
the first two lines of a file that will be used to determine whether
the file has a header
sep
sep
a character for the delimiter used to separate
columns in a file
vect
vect
a vector of character or numeric string
header
header
a boolean indicating whether a file has
headers
isFile
isFile
a boolean that is TRUE when
file.name
is a file or FALSE an object
skip
skip
an integer for the number of lines to be
skiped using read.table