我在下面创建了一个连接7列txt标题的文件: 头(接合)
Date....gpcp.......modens.....arp........had........gfdl........miroc......ich........ccc........ncc
1 1981-01-01 0.234878 0.469833 0.277215 0.427785 0.391026 1.02363 0.141564 0.613363 0.414251
2 1981-02-01 0.410771 0.702776 1.09794 0.710179 0.389277 1.26023 0.386144 0.676518 0.399144
当我尝试阅读时,我收到一条错误消息,我很难解决,并希望通常的提示来解决它。
> data1<-read.table(joined, header=T, sep=" ", row.names=1)
Error in read.table(joined, header = T, sep = " ", row.names = 1) :
'file' must be a character string or connection