简体   繁体   中英

Error while reading large file using ff package

I am trying to read a large file (1.51 GB) using the "ff" package. The following command was used:

atmins = read.csv.ffdf(file="atmins.csv", header=TRUE, VERBOSE=TRUE,
                       first.rows=10000, next.rows=50000, colClasses=NA)

However, after some time, I get the following error:

Error in UseMethod("recodeLevels") : no applicable method for 'recodeLevels' applied to an object of class "logical"

How can I solve this issue?

使用data.table包中的fread

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM