Data Export


You save your work from minitab session into the most popular file types, including pdf, doc, docx, txt, xls.

Say you  want to save your work into a file named myresults, will be stored in your workspace.
From your command window, 

>sink("myresults.extension")          # This tells R to start outputting results from commands into a file named myresults.extension, where extension can be pdf, doc, docx, txt, xls, etc. 
> command1                              
> command 2> ...>sink()             # This tells R to stop outputting in the file myresults.extension from this point.

You may want to save an object x as a matrix into a file named myresults. pdf

>write.table(x,file="myresults.pdf")

You may want to save an object x as CSV(comma Separated Values) file into a file named myresults.cvs

>write.csv(x,file="myresults.csv")