I have two csv files.
File one has two columns:
DD1 abct
DD2 geate
DD3 watec
DD4 wwwca21
DD5 bate789
File two has one column:
abct
geate
bate789
I want to get a truncated file one to include those that matched with file two, i.e.
DD1 abct
DD2 geate
DD5 bate789
Could you mind to let me know how to do it with R?
New to R.