[R] read_csv() error I cannot find
    Ivan Krylov 
    kry|ov@r00t @end|ng |rom gm@||@com
       
    Wed Nov 24 17:57:14 CET 2021
    
    
  
On Wed, 24 Nov 2021 08:37:32 -0800 (PST)
Rich Shepard <rshepard using 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
    
    
More information about the R-help
mailing list