Displaying 1 result from an estimated 1 matches for "garoben".
Did you mean:
garden
2008 Nov 12
1
read.table with many blanks (reposting)
...roperly 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...