character by default

First of all, sorry because I´m a beginner and perhaps this is the most stupid question ever.
When I import data (from excell or SPSS) Rstudio understand variables as character and not numeric, and I cannot change it from as.numeric()
How can I solve it?

Hi MVera,

if there are any characters in the data, try readr::parse_number() (here).

Hi Andi1984,
There is no characters in the data.
Even I create a stupid data in excell (with 4 cases) and occurs the same

Please provide some example code / reprex to check the specific problem.

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.