<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">On Thu, May 16, 2013 at 5:00 PM, Matthew Dowle <span dir="ltr"><<a href="mailto:mdowle@mdowle.plus.com" target="_blank">mdowle@mdowle.plus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<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>
</div></blockquote><div><br></div><div style>That sounds exactly like what I want.</div><div style> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>
<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></div></blockquote><div style>Understood.</div><div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><span class="HOEnZb"><font color="#888888">
<p>Matthew</p></font></span><div><div class="h5">
<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%">
<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>
</div></div></div>
</blockquote></div><br></div></div>