i have uploaded file,but when i am opening it in R,using
u-file(file.choose(),r)
k-readLines(u)
k
k[1:120]
is has all /t (tabs) newlines, how to avoid it,
can i take first 3 columns only in table form (lines starts with # not
important for me)
uploaded file:-
How about, don't avoid them, use them?
dta - read.table( http://r.789695.n4.nabble.com/file/n4577757/rabata.txt
rabata.txt, as.is=TRUE, skip=4, sep=\t )
---
Jeff NewmillerThe . .
Hello,
sagarnikam123 wrote
i have uploaded file,but when i am opening it in R,using
u-file(file.choose(),r)
k-readLines(u)
k
k[1:120]
is has all /t (tabs) newlines, how to avoid it,
can i take first 3 columns only in table form (lines starts with # not
important for me)
uploaded
3 matches
Mail list logo