fread

Published on

https://github.com/Rdatatable/data.table/wiki/Convenience-features-of-fread

Text파일을 읽어들이는데 많이 사용됨.

빠르고, character를 factor로 자동변환하진 않는다.

fread ( input= 파일명 or URL,
stringsAsFactors=FALSE,

drop= NULL, select=NULL ,
colClasses=NULL
)
header= “auto” TRUE FALSE
sep=”auto” “,” delimiter설정

R
example data (csv)

colClasses

R

drop/select

R
Categories: Reshaping

onesixx

Blog Owner

guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x