Re: [R] R functions that count lines of a files

2009-09-01 Thread Ben Bolker
length(count.fields("foo.txt")) ? xue dong wrote: > > hi, everyone, > > do you know if there is a R function that can count the lines of a file > without open it? > > something like "wc -l " in Unix. > > Thanks, > > Xue > > [[alternative HTML version deleted]] > > _

[R] R functions that count lines of a files

2009-09-01 Thread xue dong
hi, everyone, do you know if there is a R function that can count the lines of a file without open it? something like "wc -l " in Unix. Thanks, Xue [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.c