Hi,
I am running the script summarize1.R, when I submit it I got the following error:
| Sourcing your script...
Error in summarise_impl(.data, dots) :
attempt to use zero-length variable name
This is the script:
pack_sum <- summarize(by_package,
count = n(),
unique = n_distinct(ip_id),
countries = n_distinct(country),
avg_bytes = mean(size))
I have tried to save in the default directory in both RStudio and RGui, but it still gave me the same error.
Please advise. Thanks!
Hi, I am running the script summarize1.R, when I submit it I got the following error: | Sourcing your script...
Error in summarise_impl(.data, dots) : attempt to use zero-length variable name
This is the script: pack_sum <- summarize(by_package, count = n(), unique = n_distinct(ip_id), countries = n_distinct(country), avg_bytes = mean(size))
I have tried to save in the default directory in both RStudio and RGui, but it still gave me the same error. Please advise. Thanks!