Hi Peng, May be this is not the best way to do what you want, but it works for my proposes:
> sink('example_lm.txt') > example(lm) Hit <Return> to see next plot: > sink() Then, I just look at the file "example_lm.txt" on my working directory. HTH, Jorge On Wed, Feb 3, 2010 at 11:01 AM, Peng Yu <> wrote: > Some examples in the help page are too long to be copied from screen. > Could somebody let me know some easy way on how to extract the example > to a file so that I can play with them? > > ______________________________________________ > R-help@r-project.org 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. > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org 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.