u9470002 wrote: > Hi all: > > After calculating in R I want to show the answer and some explanations not > graphic plots in another new device and then save it as txt.file. However, I > couldn't find any package or command to do it yet. I know some commands about > generating graphics on different types of display or printing device. ex : > windows(), postscript(), pdf() and etc. But these all works for graphic plots, > not words. And I know I could save it as txt file by "selecting them and > choosing the button of save to file". However,it would be better for me if I > can save it as txt.file or pdf.file by command line. I would like to ask is it > possible to do these in R? > > Welcome your any advise, I will be appreciate it very very much. > Thanks in advance.
RSiteSearch("text output", restrict="functions") should point you to a number of potential tools. Also, have a look at ?sink in particular. > Regards, > Ruby Chen(Taiwan) > > -- > Miou-Ting Chen 陳妙婷 > Graduate Institute of Clinical Pharmacy > College of Pharmacy Kaohsiung Medical University > > > > ------------------------------------------------------------------------ > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 512-0171 (M, W, F) fax: (917) 438-0894
______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.