2017-09-02 20:58 GMT+02:00 Jennifer Lyon <[email protected]>: > Hi: > > I have a 2.1GB JSON file. Typically I use readLines() and > jsonlite:fromJSON() to extract data from a JSON file. > > When I try and read in this file using readLines() R segfaults. > > I believe the two salient issues with this file are > 1). Its size > 2). It is a single line (no line breaks)
As a workaround you can pipe something like "sed s/,/,\\n/g" before your R script to insert line breaks. Iñaki ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
