mysql - R reading data as factor values -


i imported .csv file r of columns seem being read factors (i think correct terminology).

a little background: created file in mysql , exported there. columns being read factors ones not integer type columns in mysql. (varchar , decimals being read factors.)

for varchar , decimal columns:

> data$column_a[1] [1] 0.1186 1143 levels: 0.0000 0.0112 0.0127 0.0135 0.0139 0.0141 0.0145 0.0149 0.0152 ... null 

for integer columns:

> data$column_b[1] [1] 177 

i've never experienced before, , have no idea what's going on. how change they're read , column_a appear column_b does?


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -