[R] Data separated by spaces, getting data into R using field lengths

Lauri Nikkinen lauri.nikkinen at iki.fi
Tue Sep 8 17:47:55 CEST 2009


This is the file (see the attachment) that represents the problem I'm
facing with the original file. I'm looking for some generic way to
solve this problem. Thank you for your time.

-L

2009/9/8 Barry Rowlingson <b.rowlingson at lancaster.ac.uk>:
> On Tue, Sep 8, 2009 at 1:52 PM, Lauri Nikkinen<lauri.nikkinen at iki.fi> wrote:
>
>> But this is not the solution I was looking for. Thanks.
>
>  I think the only way you'll get the solution you are looking for is
> if you can let us have a copy of the original input file, or at least
> the first few lines - and not pasted into an email because special
> characters like spaces and tabs get smushed up and confuse things.
>
-------------- next part --------------
DF12 This is an example 1 This
DF12 This is an 1232 This is
DF14 This is 12334 This is an 
DF15 This 23 This is an example


More information about the R-help mailing list