r - Prevent unmatched quote parse error in h2o importFile -
this popular pre-trained word vector file supplied stanford glove project. commonly used natural language applications.
the parse errors might root cause of unpredictable behavior trying fix. strange stuff (not shown) appears after performing as.data.frame on hex frame. i'd fix earlier error way.
# how eliminate parse error? g6b = h2o.importfile(path = "/mnt/fastssd/glove/glove.6b/glove.6b.100d.txt", header=false, na.strings=na, sep=" ") warning: parseerror @ file nfs://mnt/fastssd/glove/glove.6b/glove.6b.100d.txt @ byte offset 7674; error = 'unmatched quote char "' |======================================================================| 100% warning message in dotrycatch(return(expr), name, parentenv, handler): “parseerror @ file /mnt/fastssd/glove/glove.6b/glove.6b.100d.txt @ byte offset 7674; error = 'unmatched quote char "'” is there way within h2o fix error? if not way? thanks
i download glove.6b.100d.txt test , did quick try latest h2o 3.10.4.3 in r , did see same warning data ingested correctly.
i still use data frame had 399,999 rows , 101 columns can confirm data ingest correct , warning did not cause problem in data ingest.
i have opened following jira fix warning issue:
Comments
Post a Comment