Thanks Jim for pointing out how to properly ask.
Here is is my question and a small subset of the data and output.

I have a data set with many blanks. The blanks should be replaced with zero
once imported.
I tried read.table, read.csv (R 2.8 version),or scan, but none was
successful.
Any suggestion, please..

thanks.
Keun-Hyung

>garoben=read.table("c:\\Rdata\\garoben.txt",header=T, fill=0, as.is=TRUE)

>error:
scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  :
11 missing components

## the data look like this

       Am.auricula    Am.arctica    Am.gunneri    An.koreana
Ar.iricolor    Ar.lanceolata
4
5        19.2             19.2
6                                                 57.7
7        19.2
8        19.2              19.2
9        19.2
10       19.2            19.2                19.2
11
12
13
14        153.8         19.2               19.2                19.2
    19.2            19.2
15        1423.1
16

	[[alternative HTML version deleted]]

