Hi,
I'm trying to save a tibble to as a csv file to but I nothing happens when I run the code.
I thought of choosing the directory by pointing to a project to get the file path.
No errors, but no file as well on the directory.
Checked libraries and all are updated and loaded.
(a <- tibble(
"x" = sample(100,100),
"y" = sample(150,100),
"z" = sample(275,100)
))
path_a <- file.path(choose.files())
path_a
#>[1] "C:\\Users\\myname\\Dropbox\\r4ds.Rproj"
write_csv(a, path = path_a, append = FALSE, col_names = TRUE)
````