Import data into R- .txt files in R-Studio
Updated on
1. Use read.table for any files end with .txt.
2. As an additional argument, you may need to specify that the cells of your table are separated by tabs.
2.1. Add the sep="\t" argument (\t is "computer-talk" for tab).
2.2. Add header=TRUE argument to the command to indicate the first row of your file might contain the names of the columns.