Re: example scripts used by R
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.
--
Don Armstrong http://www.donarmstrong.com
Let me bring you up to speed:
We know nothing.
You are now up to speed.
-- Steve Martin as Inspector Clouseau in _The Pink Panther 2_ (2009)
Reply to: