Displaying 1 result from an estimated 1 matches for "xylong".
Did you mean:
pylong
2006 Jul 05
1
read.table() errors with tab as separator (PR#9061)
...82\tlinear model (lm)! Cook's distance\t187"
[5] "1220\tlinear model (lm)! Cook's distance\t214"
> weblong <- "http://www.maths.anu.edu.au/~johnm/testfiles/long.txt"
> webshort <- "http://www.maths.anu.edu.au/~johnm/testfiles/short.txt"
> xyLong <- read.table(url(weblong), sep="\t")
> dim(xyLong) # Should be 1821 x 2
[1] 1569 2
> xyShort <- read.table(url(webshort), sep="\t")
> dim(xyShort) # Should be, and will be, 90 x 2
[1] 90 2
> long <- readLines(url(weblong))
> short <- rea...