I am trying to write a simple R code to select multiple columns. I am able to do this when the column names do not have spaces. When it has any space, it doesn't work. Could you please help? I am sure that this is really a simple question. I searched for answers in this forum, but I couldn't find any.
Here is my code.
df.mydata <-select(df.rawdata, ID, Job, Role ID)
I get an error. Can you please correct the syntax?