[R] read csv

From: Georg Otto <georg.otto_at_tuebingen.mpg.de>
Date: Mon 04 Sep 2006 - 16:52:49 GMT


I have a csv file where the number of filled columns varies in the different rows:

Sun 5-Feb-06,15,,,01:30:00,0:06:00,
Mon 6-Feb-06,,,,,,
Tue 7-Feb-06,7,,,00:41:00,0:05:51,
Wed 8-Feb-06,,,,,,

I would like to use read.table (or whatever is appropriate) to read in only those rows that have two or more columns filled. Any hint will be appreciated.


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. Received on Tue Sep 05 02:56:58 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 07 Sep 2006 - 07:51:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.