In addition to reading the manual pages, when you donβt know what the function does, you can also check the actual function code. For example, typing read.delim indicates that the function contains the following code:
> read.delim function (file, header = TRUE, sep = "\t", quote = "\"", dec = ".", fill = TRUE, comment.char = "", ...) read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, comment.char = comment.char, ...)
So read.delim() is just a wrapper function for read.table() with default argument values ββthat are convenient when reading in tab-delimited data. This is exactly the same as the call:
read.table(file, header = TRUE, sep = "\t", quote = "\"", dec = ".", fill = TRUE, comment.char = "")
jthetzel
source share