HertieDataScience / SyllabusAndLectures

Hertie School of Governance Introduction to Collaborative Social Science Data Analysis
MIT License
37 stars 60 forks source link

Integer column positions error #57

Closed natalia-alvarado closed 8 years ago

natalia-alvarado commented 8 years ago

Dear all,

When using the package "tidyr" and the fuction "gather" we ran into this error:

Error: All select() inputs must resolve to integer column positions. The following do not:

These are the names of the variables that are in the columns.

We are not quite sure on how to resolve this issue. Any ideas?

Thank you in advance,

Natalia & Gabriel

christophergandrud commented 8 years ago

Hi, would it be possible to provide a link to the code so that we can reproduce the issue?

natalia-alvarado commented 8 years ago

Thank you for replying so fast.

It was our mistake, because first the columns were not properly named and also in the gather code we were using quotation marks when it didn't need them, once we got rid off them it worked.

christophergandrud commented 8 years ago

Perfect. Closing this issue.