<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p> </p>
<p>Hi Chris,</p>
<p>There's the new colClasses argument so you can override particular fields.  But see the new ?fread manual page where I've added an integer64 argument, documented but not yet implemented, default "integer64" but can be set to "numeric" (as read.csv) or "character"  -- think that's exactly what you're describing.  I guess you would set the global option datatable.integer64 to "character".</p>
<p>I don't see how we can support int64 because it's implemented as two integer vectors, iiuc.  data.table internals need each column to be a single vector.</p>
<p>Matthew</p>
<p> </p>
<p>On 16.05.2013 08:46, Chris Neff wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">Hi all,
<div>For reasons I won't go into here, I do not use the bit64 package, instead opting to use int64.  When I load something that is a long numeric ID (i.e. something I actually want as a character not an integer), fread loads this as a 64-bit integer using the bit64 encoding.  This makes it impossible to convert those to characters without having the bit64 package loaded.
<div>Would it be possible to either support int64 as well, or if not an option to convert it to character when it would decide that 64-bit ints are necessary?</div>
<div>Thanks,</div>
<div>Chris</div>
</div>
</div>
</blockquote>
<p> </p>
<div> </div>
</body></html>