[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: example scripts used by R



On Sun, Aug 24, 2014 at 12:28 PM, Don Armstrong <don@debian.org> wrote:
On Sat, 23 Aug 2014, kamaraju kusumanchi wrote:
> Does anyone know where R stores the example scripts? For eg, I am
> trying to find out the R script that runs when example(min) is run.
>
> rajulocal@hogwarts:~$ R
> > example(min)

Your best bet is just to look at the output of

example(min,give.lines=TRUE);

but the actual examples are in the help files, which are compressed in
/usr/lib/R/library/base/help/base.rdb in the case of min, which is in
the base library.

Thanks very much, Don! This is helpful.

raju

Reply to: