Re: [R] Help with reading data

2003-03-17 Thread AlessandroSemeria
Hi! 'The bizarre thing is this error comes from using read.table' Not bizarre, read.table is a R-function built with the R-function scan (you can look the code simply by command read.table at the R-prompt). 'Error in scan("tree.dat") : "scan" expected a real, got "https://www.stat.math.ethz.ch

Re: [R] Help with reading data

2003-03-14 Thread ripley
On Fri, 14 Mar 2003, Nirvan Sunderam wrote: > > everytime i try to read in data i get the following error: > > Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : > line 3 did not have 5 elements > > > it was my understanding it wasn't necessary to specifiy

[R] Help with reading data

2003-03-14 Thread Nirvan Sunderam
everytime i try to read in data i get the following error: Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, : line 3 did not have 5 elements it was my understanding it wasn't necessary to specifiy all defaults. The bizarre thing is this error comes from us