On Fri, 20 Jul 2018, William Dunlap wrote:

You mean each line in the file, not row in data.frame, has the form
"year-month-day,hour:min,numericValue". Try the following, where tfile
names your file:

Bill,

  Yes, I was looking at the data file in one emacs buffer and my R session
in another one.

  The source file was what I posted, the data.frame is different:
 head(wy2016)
        date  time    elev
1 2015-10-01 00:00 90.6689
2 2015-10-01 01:00 90.6506
3 2015-10-01 02:00 90.6719
4 2015-10-01 03:00 90.6506
5 2015-10-01 04:00 90.6597
6 2015-10-01 05:00 90.6841

  It's all fixed now and I've learned how to handle future typos from all of
you.

Thanks,

Rich

______________________________________________
R-help@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.

Reply via email to