Base R: Writing to a CSV File

For long-term preservation of data and broader sharing (not just with the R users), it is better to save the data in a plain format like CSV. 

Here are the base-R functions to do that. You might find the option row.names = FALSE handy.


Source: L. Waldrop, https://www.youtube.com/watch?v=054aBlBvhKM
Creative Commons License This work is licensed under a Creative Commons Attribution 3.0 License.

Last modified: Monday, December 5, 2022, 6:53 PM