Skip to content
Back to formatted view

Raw Message

Message-ID: <CA+8X3fUoz_UGFE9Lee5ooJWed3FL0urpEy+01egQhEYjmCthTw@mail.gmail.com>
Date: 2022-08-07T00:53:33Z
From: Jim Lemon
Subject: Reading a CSV file
In-Reply-To: <CACxE24na6zZ=S5U0jD1VnTvbp38gtGTi-QWejPb_YyYFNO-Obg@mail.gmail.com>

HI Erin,
Just index out the lines in the result vector.

Jim

On Sun, Aug 7, 2022 at 10:16 AM Erin Hodgess <erinm.hodgess at gmail.com> wrote:
>
> Hello!
>
> Is there a way to read the first line of a CSV file, then skip 4 lines,
> then continue reading, please?
>
> I know you can skip from the top, but I don't know if you can read and then
> skip.
>
> Thanks,
> Erin
>
>
> Erin Hodgess, PhD
> mailto: erinm.hodgess at gmail.com
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.