Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Readr
Summary

Instruction

Okay, but what about saving data in a different format? As we have the data in memory, we can use the write_delim() function to save the zoo data. We simply give the name of the data we want to save, the path, and the delim option. If we were saving plant data to a CSV file, delimited by commas, we'd write:

write_delim(plants, path = "data/plants.csv", delim = ",")

Exercise

Save the data in animals to the animals.csv file using write_delim() with the delimiter ;.

Stuck? Here's a hint!

Type:

write_delim(animals, path = "animals.csv", delim = ";")