[datatable-help] fread for flat files

Michael Smith my.r.help at gmail.com
Sat Apr 19 14:07:16 CEST 2014


Probably you could do this from the Linux command line using `sed`, i.e.
to replace several spaces with a comma.

https://www.google.com/search?q=sed+replace+space+with+comma

If you're on Windows, you probably can do the same using Cygwin.

M


On 04/19/2014 12:37 AM, Mark Danese wrote:
> Is it possible to pass a vector of column widths to have fread read in a
> flat file?  I saw that someone suggested using csvkit to add commas and
> then use data table, but that is beyond my skill set.
> 
> 
> _______________________________________________
> 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
> 


More information about the datatable-help mailing list