[R] how to write text into a file

Jerome Asselin jerome at hivnet.ubc.ca
Thu May 8 20:04:01 CEST 2003

I'd suggest to write your text into a text file. See ?cat . In particular, 
look at the "file" option.

I wonder why you want to have your text in a postscript file rather than 
a text file. However, you can probably convert your text file using some 
utility of your OS. E.g., you could print it to a ps file instead of a 


On May 8, 2003 09:45 am, Xirui Yang wrote:
> Hello,
> Would somebody tell me how to write the text result into a postscript
> file?  The command postscript() sents only the graphics output into
> PostScript files.
> best wishes,
> Xirui
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

More information about the R-help mailing list