Is there a way / site / place / state of mind that allows you to see the results of sample code in the help package

Help system

R is great, and I like that almost all the help pages for the function include an example, but sometimes I would like to see the results of the example code without copying and pasting into my current session. This is doubly for graphic functions.

Is there a way to do one of the following:

  • Compile my help files with inline code example results
  • Generate pdf help file with results
  • You have a website with help files and sample results.
+5
source share
2 answers

example(foo) - foo. / .

R , (IIRC), , . , . R, - R , , .

(2) .

+7

example, :

example(hist)

. R .

+7

All Articles