Write the first seven rows of the “faithful” dataset to a csv file named “faithful.csv”. Make sure you do not include any row names in your output file.
Exercise: 18-B
Write the entire “faithful” dataset to an xlsx file using the “saveWorkbook” function. Name the tab (worksheet) that the data is on “data” and make the text in the header row bold.
Answers
Answer: 18-A
You can accomplish this through the use of the “write.csv” function.