[R] help required on read.table

Krishna snvk4u at gmail.com
Fri Sep 16 16:16:30 CEST 2005

Hi all

i am facing a peculiar problem for data input using read.table which i
never faced previously.

i have a data file by name abnew.txt with two coloumns data as depicted below.

A     B
420 422
314 321

the txt file is created using the excel save as option. i issued the
statement as

> a <- read.table("abnew.txt", header=TRUE) 
> a
1      NA
2       2
3       2
4      NA
5       2
6       2
7      NA
8       2
9       2
10     NA

the o/p looks like as copied above. can some one help me on correct
data reading. your earliest response will help me a lot.

thanks and regards


More information about the R-help mailing list