读取含多位数的数据
1(首选).
install.packages("readxl")
library(readxl)
x<-read_excel("C:\\Users\\Desktop\\da.xlsx")
2(丢失了变量类型).
library(data.table)
data <- fread("C:\\Users\\Desktop\\da.txt")
3(直接原数据类型读取).
library(sas7bdat)
b<-read.sas7bdat("C:/Users/Desktop/adj.sas7bdat")
PS:待研究的packages: readr, xlsx, XLConnect, RODBC
相关链接:https://www.r-bloggers.com/importing-data-into-r-part-two/
https://www.datacamp.com/community/tutorials/r-tutorial-read-excel-into-r#gs.kM9OxZ8