How to convert .plt file to csv file and also attributes are missing?

前端 未结 1 1785
闹比i
闹比i 2021-01-23 13:48

First I converted the .plt file to a .txt file then I imported in R.

But when I try to read the text file, I get an error:

`20081023025304` <- read.t         


        
相关标签:
1条回答
  • 2021-01-23 14:12

    You need to skip 7 lines before reading your data. Also, the separator is ,. So you need something like

    read.table("file.plt", header = TRUE, quote = "\"", skip = 7, sep = ",")
    
    0 讨论(0)
提交回复
热议问题