Difference between read.table and read.delim functions

后端 未结 2 1280
说谎
说谎 2021-02-01 10:50

What is the difference between the read.table() and read.delim() functions in the R language?

2条回答
  •  春和景丽
    2021-02-01 10:52

    From R help:

    Similarly, read.delim and read.delim2 are for reading delimited files, defaulting to the TAB character for the delimiter. Notice that header = TRUE and fill = TRUE in these variants, and that the comment character is disabled.

提交回复
热议问题