fread : Specifying colClasses of file with 2 columns with same name, using col and col.1 does not work

懵懂的女人 提交于 2019-12-11 15:20:47

问题


fread : Specifying colClasses of file with 2 columns with same name, using col and col.1 does not work

fread(file, colClasses(col = "character", col.1 = "character"), check.names = TRUE)

It seems the check.names = TRUE is performed later, after the file is read. Is there any workaround to help do it. I need to preserve the precision of the columns col...

来源:https://stackoverflow.com/questions/58178779/fread-specifying-colclasses-of-file-with-2-columns-with-same-name-using-col-a

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!