1

How to read 'myfile.csv' with all variables in character using vroom ?

library(vroom)
'Below code can't work
input_file_2<- vroom('myfile.csv',colClasses = 'character')

1 Answer 1

2

You can use:

library(vroom)
vroom('myfile.csv', col_types = cols(.default = col_character()))

Not the answer you're looking for? Browse other questions tagged or ask your own question.