Skip to content

listing functions in base package

4 messages · Kingsford Jones, Fuchs Ira

#
How can I print the definition of a function that is in the base  
package?

for example, if I type:

which.min

I get

function (x)
.Internal(which.min(x))
<environment: namespace:base>

How can I see the definition of this function?

Thanks.
#
see

https://stat.ethz.ch/pipermail/r-help/2008-January/151694.html

hth,
Kingsford Jones
On Wed, Mar 4, 2009 at 7:30 PM, Fuchs Ira <irafuchs at gmail.com> wrote:
#
On Wed, Mar 4, 2009 at 8:40 PM, Fuchs Ira <irafuchs at gmail.com> wrote:
No, a large proportion are written in R and the code can be seen in
the console by typing the function name.  C is generally used where
speed is a concern.

Kingsford