[datatable-help] fread(character string) limited to strings less than 4096 long?

Muhammad Waliji mhwaliji at google.com
Wed Mar 27 22:51:46 CET 2013


R is happy with strings of length 4097:

> paste(rep("a", 4097), collapse="")



On Wed, Mar 27, 2013 at 2:23 PM, Matthew Dowle <mdowle at mdowle.plus.com>wrote:

> Hi,
> Nice to hear from you. Nope not known to me. Obviously 4096 is 4k, is that
> the R limit for a character string length? What happens at 4097?
> Matthew
>
> > Hi,
> >
> > I have an example of a string of 4097 characters which can't be parsed by
> > fread; however, if I remove any character, it can be parsed just fine. Is
> > that a known limitation?
> >
> > (If I write the string to a file and then fread the file name, it works
> > too.)
> >
> > Let me know if you need the string and/or a bug report.
> >
> > Thanks
> > Timothée
> > _______________________________________________
> > datatable-help mailing list
> > datatable-help at lists.r-forge.r-project.org
> >
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
>
>
> _______________________________________________
> datatable-help mailing list
> datatable-help at lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/datatable-help/attachments/20130327/465912a7/attachment.html>


More information about the datatable-help mailing list