Skip to content

General Question on learning R...

1 message · Liaw, Andy

#
For an installed package (rather than source), the R-ex/ directory contains
the code in the Example section of help pages; e.g., if you run
example(somefun), the code in somefun-ex.R is source()'ed.

Stuff in the demo/ directory are executed by the demo() function, and it's
optional:  Most packages do not have demo code.

Andy