This document provides instructions for common R tasks like closing and saving documents, loading documents, viewing and removing loaded data, and exporting data to Excel. It outlines commands like q(), save.image(), load(), View(), rm(), str(), and write.csv() for closing and saving, loading, viewing loaded data, removing data, displaying data structure, and exporting to CSV format.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
41 views1 page
Closing An R Document: To Save A Document
This document provides instructions for common R tasks like closing and saving documents, loading documents, viewing and removing loaded data, and exporting data to Excel. It outlines commands like q(), save.image(), load(), View(), rm(), str(), and write.csv() for closing and saving, loading, viewing loaded data, removing data, displaying data structure, and exporting to CSV format.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1
Closing an R document
q(save = "default", status = 0, runLast = TRUE)
loading a document
load (c:/document directory/name.Rdata)
to save a document save.image() To view an already loaded dataset View() To remove an already loaded document rm() To display the data in your file in the console str() To export your file to an excel file from R write.csv(name of file , file=name I want to save file as.csv)