read.table(file, header = FALSE, sep = "", quote = "\"'",
dec = ".", row.names, col.names,
as.is = !stringsAsFactors,
na.strings = "NA", colClasses = NA, nrows = -1,
skip = 0, check.names = TRUE, fill = !blank.lines.skip,
strip.white = FALSE, blank.lines.skip = TRUE,
comment.char = "#",
allowEscapes = FALSE, flush = FALSE,
stringsAsFactors = default.stringsAsFactors(),
fileEncoding = "", encoding = "unknown", text)
//file 带分隔符的ASCLL文本文件
// sep 分开数值的分隔符
//
// na.strings = "NA" 缺失值 换为NA
// colClasses = NA 分配到每一列的类向量
// row.names 选定行
R 语言 数据导入
最新推荐文章于 2023-10-04 17:18:37 发布