On Wed, 24 Nov 2021 08:37:32 -0800 (PST)
Rich Shepard <rshep...@appl-ecosys.com> wrote:

> Error in list(site_nbr = col_character(), sampdate = col_date(),
> param = col_character(),  : argument 6 is empty

This typically happens when you leave a trailing comma at the end of a
list() call:

list(
 site_nbr = col_character(),
 sampdate = col_date(format = "D"),
 param = col_character(),
 quant = col_double(),
 unit = col_character(), # <-- this comma causes the error
)

As for the rest of it, I'm not sure. Does read.csv() work on your file?

-- 
Best regards,
Ivan

______________________________________________
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