Very grateful for any help provided for this simple R question being asked by a novice!
I have a txt file with ~8 million rows and 4 columns
I have a separate txt file with just 1 column of ~2 million rows and the data in each of the rows correspond to the data in column 1 of the first txt file.
What would be the correct command in R to extract the ~2 million rows from the original txt file with 8 million rows such that the data in all 4 columns are extracted?
Can you even load 2 separate txt files as 2 separate data frames to make this possible??
Much appreciated, Ed