[R] Reading a CSV file

Erin Hodgess er|nm@hodge@@ @end|ng |rom gm@||@com
Sun Aug 7 03:15:16 CEST 2022


All of these are so great!  Thanks so much, particularly on a Saturday
night!

Sincerely,
Erin

On Sat, Aug 6, 2022 at 9:02 PM Jeff Newmiller <jdnewmil using dcn.davis.ca.us>
wrote:

> Nice! (Needs just one more closing paren...)
>
> On August 6, 2022 5:51:12 PM PDT, Uwe Ligges <
> ligges using statistik.tu-dortmund.de> wrote:
> >csv <- readLines(filename)
> >read.csv(text = csv[-(2:5)]
> >
> >Best,
> >Uwe Ligges
> >
> >
> >On 07.08.2022 02:15, Erin Hodgess 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 using gmail.com
> >>
> >>      [[alternative HTML version deleted]]
> >>
> >> ______________________________________________
> >> R-help using 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.
> >
> >______________________________________________
> >R-help using 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.
>
> --
> Sent from my phone. Please excuse my brevity.
>
-- 
Erin Hodgess, PhD
mailto: erinm.hodgess using gmail.com

	[[alternative HTML version deleted]]



More information about the R-help mailing list