Learn R Programming

SciViews (version 0.8-8)

getFunctions: Get all functions in a given environment

Description

Get a list of all visible functions in a given environment.

Usage

getFunctions(pos)

Arguments

pos
The position in the search path

Value

  • A list of character strings with functions names.

See Also

getKeywords, createSyntaxFile

Examples

Run this code
getFunctions(1)	# Functions defined in .GlobalEnv
	length(getFunctions(length(search()))) # Number of functions in package:base

Run the code above in your browser using DataLab