excel存成csv格式,然后用read.csv命令或者将数据存在txt中,用read.table或scan。
excel导入到R用xlsx包的read.xlsx函数,R导出到excel还是用xlsx包的write.xlsx函数