Left Join in df

Hi Guys,

New to R here. I am using left join in order to get a column from the right table. But the problem is that after left join, it shows all the columns from the right table. Is there a way to get only one column like we do from excel ?

You can use select() to weed out the undesired columns, either before passing the right table to the join command or after getting the join output.

4 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.