Re: [R] read a text file with variable number of spaces

2011-03-03 Thread Gerrit Eichner
Hello, Gregory, for your first data set see ?read.table and for you second ?read.fwf may help solving your problem. Hth -- Gerrit On Thu, 3 Mar 2011, Gregory Ryslik wrote: Hi, I seem to be having somewhat of an unusual data input problem with some of the data sets I'm working with a

[R] read a text file with variable number of spaces

2011-03-02 Thread Gregory Ryslik
Hi, I seem to be having somewhat of an unusual data input problem with some of the data sets I'm working with and want to run a simulation on. in the first data set I'm looking at, I have a text file where the spacing between columns varies. I've attached a snippet. Is there a way to read this