Details and Options


- ResourceFunction["name"] searches in order for a resource function with the specified name in the following locations:
-
locally in the session (for resource functions from DefineResourceFunction) at the locations specified by $PersistencePath in the Wolfram Function Repository - In ResourceFunction[resource], resource can have the following forms:
-
"name" function name, resolved as described ResourceObject[…] a resource object of type "Function" stored at any location CloudObject[…] a cloud object containing a function resource object LocalObject[…] a local object containing a function resource object - ResourceFunction[resource][args …] applies the function to the given arguments.
- The available properties are given by ResourceFunction[resource,"Properties"] and typically include properties of the ResourceObject as well as:
-
"SymbolName" fully qualified string name of the underlying function "FunctionLocation" file, object or method used to store the definition "DocumentationLink" URL for documentation of a published function - ResourceFunction accepts the following options:
-
ResourceSystemPath $ResourceSystemPath where to look for a function ResourceVersion Automatic version to select of a published resource - Function definitions in a function resource are typically not explicitly retrieved until the function is used.
- When the definitions for a function resource are retrieved, they are usually cached in $LocalBase.
- ResourceObject[ResourceFunction[…]] returns the resource object containing the given function.
- ResourceFunction[ResourceFunction[…],prop] gives a property for an existing resource function.
- CloudDeploy[ResourceFunction[…]] or CloudPublish[ResourceFunction[…]] saves a resource function in the cloud.
- LocalCache[ResourceFunction[…]] saves a resource function as a LocalObject[…].
- The following functions work on ResourceFunction objects: Attributes, Definition, DownValues, FullDefinition, Options and SymbolName.
- New resource functions can be defined with DefineResourceFunction or with a definition notebook from File ▶ New ▶ Repository Item ▶ Function Repository Item.
Examples
open allclose allBasic Examples (5)Summary of the most common use cases
Get a resource function using its name:

https://wolfram.com/xid/0dqwfzhcu4i-bicmr5

Apply the resource function to arguments:

https://wolfram.com/xid/0dqwfzhcu4i-ltcgqs

Apply a function from a ResourceObject to a value:

https://wolfram.com/xid/0dqwfzhcu4i-qxlji

Find properties of a resource function:

https://wolfram.com/xid/0dqwfzhcu4i-ep94l

Get the web documentation URL for a published function:

https://wolfram.com/xid/0dqwfzhcu4i-j42pda

Create a resource function from an Association:

https://wolfram.com/xid/0dqwfzhcu4i-fyv0pp


https://wolfram.com/xid/0dqwfzhcu4i-etxpkx

Scope (7)Survey of the scope of standard use cases
Use the two-argument from of ResourceFunction to retrieve properties:

https://wolfram.com/xid/0dqwfzhcu4i-1zo4k2


https://wolfram.com/xid/0dqwfzhcu4i-dftlk

Obtain information on a resource function:

https://wolfram.com/xid/0dqwfzhcu4i-msl7ti


https://wolfram.com/xid/0dqwfzhcu4i-ftefpd

Run all verification tests defined for a resource function to generate a TestReportObject:

https://wolfram.com/xid/0dqwfzhcu4i-1i0h7

A Missing object is returned for resource functions that do not have defined tests:

https://wolfram.com/xid/0dqwfzhcu4i-burgkl

See all the tests defined for a resource function in a testing notebook:

https://wolfram.com/xid/0dqwfzhcu4i-cps6a7

See when a resource function was first published to the Wolfram Function Repository:

https://wolfram.com/xid/0dqwfzhcu4i-frqqd9

Get the date of the most recent update:

https://wolfram.com/xid/0dqwfzhcu4i-br5jbs

Get a list of available versions:

https://wolfram.com/xid/0dqwfzhcu4i-cpzgvv

Options (3)Common values & functionality for each option
ResourceSystemPath (2)
Use ResourceSystemPath to limit the result to only find functions published in the function repository:

https://wolfram.com/xid/0dqwfzhcu4i-qmgtm3

Create a new resource function with the same name as a deployed function:

https://wolfram.com/xid/0dqwfzhcu4i-dp2k87

Use ResourceSystemPath to ensure this resource is found:

https://wolfram.com/xid/0dqwfzhcu4i-bipby9


https://wolfram.com/xid/0dqwfzhcu4i-uaw9x5

Instead, find the published function:

https://wolfram.com/xid/0dqwfzhcu4i-jskq2u


https://wolfram.com/xid/0dqwfzhcu4i-zf60tv

ResourceVersion (1)
Get two versions of the same resource from the function repository using ResourceVersion:

https://wolfram.com/xid/0dqwfzhcu4i-4lt3vw


https://wolfram.com/xid/0dqwfzhcu4i-sl31yl

Only the newer version supports a zero-argument form:

https://wolfram.com/xid/0dqwfzhcu4i-cal24v


https://wolfram.com/xid/0dqwfzhcu4i-ccuk8n

Properties & Relations (3)Properties of the function, and connections to other functions
The two-argument form of ResourceFunction provides the same values as ResourceObject:

https://wolfram.com/xid/0dqwfzhcu4i-bop9y7


https://wolfram.com/xid/0dqwfzhcu4i-erdmqw

The underlying symbol belonging to a ResourceFunction can be obtained using the "Function" property:

https://wolfram.com/xid/0dqwfzhcu4i-czbzg


https://wolfram.com/xid/0dqwfzhcu4i-bpybdt

Using the symbol directly can often be faster:

https://wolfram.com/xid/0dqwfzhcu4i-g10p2h


https://wolfram.com/xid/0dqwfzhcu4i-ey67u

Many functions that work on symbols also work on resource functions, for example, DownValues:

https://wolfram.com/xid/0dqwfzhcu4i-p8j8nf

And Attributes:

https://wolfram.com/xid/0dqwfzhcu4i-ormml2

And Options:

https://wolfram.com/xid/0dqwfzhcu4i-2wiu1i

Possible Issues (1)Common pitfalls and unexpected behavior
Resource functions that have holding attributes will only hold arguments if ResourceFunction[…] is explicitly used as the head:

https://wolfram.com/xid/0dqwfzhcu4i-bg0yk


https://wolfram.com/xid/0dqwfzhcu4i-j8gt4h

Use ResourceFunction[…][…] instead to ensure attributes will work:

https://wolfram.com/xid/0dqwfzhcu4i-ejknmu

Using the formatted form will also work:

https://wolfram.com/xid/0dqwfzhcu4i-c3521q

Alternatively, set the symbol to the underlying function instead:

https://wolfram.com/xid/0dqwfzhcu4i-gmctkn


https://wolfram.com/xid/0dqwfzhcu4i-rnpmjd

Wolfram Research (2019), ResourceFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ResourceFunction.html.
Text
Wolfram Research (2019), ResourceFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ResourceFunction.html.
Wolfram Research (2019), ResourceFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/ResourceFunction.html.
CMS
Wolfram Language. 2019. "ResourceFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ResourceFunction.html.
Wolfram Language. 2019. "ResourceFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ResourceFunction.html.
APA
Wolfram Language. (2019). ResourceFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ResourceFunction.html
Wolfram Language. (2019). ResourceFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ResourceFunction.html
BibTeX
@misc{reference.wolfram_2025_resourcefunction, author="Wolfram Research", title="{ResourceFunction}", year="2019", howpublished="\url{https://reference.wolfram.com/language/ref/ResourceFunction.html}", note=[Accessed: 03-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_resourcefunction, organization={Wolfram Research}, title={ResourceFunction}, year={2019}, url={https://reference.wolfram.com/language/ref/ResourceFunction.html}, note=[Accessed: 03-June-2025
]}