Just read them in and throw them away:

   read.table("myfile.dat", ...whatever...)[-c(10, 12), ]


On 7/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> I am reading the data using "read.table". However, there are a few rows I
> want to skip. How can I do that in an easy way? Suppose I know the row
> number that I want to skip. Thanks so much!

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to