Hi,
I'm beginner in R. Anyone can help me how I can fix error with save.
Here is the code:
library(tidyverse)
library(readxl)
dane <- read_xlsx(path = "wybory2020.xlsx")
summary(dane)
mean(dane$Frekwencja)
mean(dane$'% głosów nieważnych')
dane_czyste <- janitor::clean_names(dane)
summary(dane_czyste)
mean(dane_czyste$percent_glosow_niewaznych,na.rm = TRUE )
save(dane_czyste, file = "data/wybory.rda") - and in this point I have this error:
"Error in file(file, "wb") : cannot open the connection
In addition: Warning message:
In file(file, "wb") :
cannot open file 'data/wybory.rda': No such file or directory"
I'll be grateful when someone help me