Error when Knitr

It looks like you may have the name of the data.frame in the select statement.

Assuming your data is cSVDATA does this work?

Workingdata <- cSVDATA  %>%  select( current_reading_type,consumption, bill,region_name, date,
                                   custtype,anonid, groups, year, billmonth ) 

Otherwise we probably need a reproducible example (reprex)

About the warning messages, what is your version of R? The command sessionInfo() will give you that infrmation.

1 Like