【发布时间】:2018-06-21 17:04:24
【问题描述】:
我正在使用 R 从 Outlook 读取附件。我已经尝试过这些步骤,它们可以完美运行Reading Email Attachment to R。
问题是我的文件是 xls 格式,所以 read.csv 不起作用。
我有这个错误:
data <- read.csv(attachment_file)
警告信息: 在 read.table(file = file, header = header, sep = sep, quote = quote, : readTableHeader 发现的最后一行不完整 'C:\Users\GABRIE~1.BEN\AppData\Local\Temp\RtmpWmxRwP\file155c162721e8'
当我尝试使用 read.excel 函数打开它时,我得到了这个错误
数据
【问题讨论】: