R 使用不同于分隔符的标题分隔符读入数据 statefiscal
像这样:R 使用不同于分隔符的标题分隔符读入数据 statefiscal,r,R,像这样: StateNonfiscal <- read.table("State_Nonfiscal_1314.txt", header=TRUE, sep = ",", stringsAsFactors = FALSE) statenviscal我在该网站上打开的所有文件都使用tab分隔符。使用sep=“\t” StateNonfiscal <- read.table("State_Nonfiscal_1314.txt", header=TRUE, sep="\t", str
StateNonfiscal <- read.table("State_Nonfiscal_1314.txt", header=TRUE,
sep = ",", stringsAsFactors = FALSE)
statenviscal我在该网站上打开的所有文件都使用tab
分隔符。使用sep=“\t”
StateNonfiscal <- read.table("State_Nonfiscal_1314.txt", header=TRUE,
sep="\t", stringsAsFactors = FALSE)