Re: [R] Importing data into R and combining 2 files

2009-05-14 Thread Andy Choens
On Thu, 2009-05-14 at 10:30 -0700, Sunita22 wrote: > Hello > > I have to import 2 txt files into R. 1 file contains the data and the other > contains the header, column headings, datatypes and labels for the data. > This is your first complicating factor. > I have 2 problems: > > 1) my data fi

Re: [R] Importing data into R and combining 2 files

2009-05-14 Thread Sunita Patil
Hello Yes I have used read.table("file name", sep="\t") for reading the text file Thank you On Thu, May 14, 2009 at 11:07 PM, jim holtman wrote: > What have you tried? Check the Intro manual for hints. > > ?read.table probably using sep='\t' > > On Thu, May 14, 2009 at 1:30 PM, Sunita22 wr

Re: [R] Importing data into R and combining 2 files

2009-05-14 Thread jim holtman
What have you tried? Check the Intro manual for hints. ?read.table probably using sep='\t' On Thu, May 14, 2009 at 1:30 PM, Sunita22 wrote: > > Hello > > I have to import 2 txt files into R. 1 file contains the data and the other > contains the header, column headings, datatypes and labels f

[R] Importing data into R and combining 2 files

2009-05-14 Thread Sunita22
Hello I have to import 2 txt files into R. 1 file contains the data and the other contains the header, column headings, datatypes and labels for the data. I have 2 problems: 1) my data file has mixed type of data e.g. 1 2 3 4 5 3-5 02/04/06 3 4 5 and so on, the data file is tab separated. when