Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Cloud Functions
  • Comparison with other Yandex Cloud services
    • Overview
    • Programming model
    • Managing dependencies
    • Request handler
    • Invocation context
    • Logging
    • Handling errors
  • Tools
  • Pricing policy
  • Access management
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ
  1. Developing in R
  2. Invocation context

R function invocation context

Written by
Yandex Cloud
Updated at January 22, 2025

An invocation context is an object that is optionally accepted by the call handler if the list of parameters contains ycFunctionContext. It is a list type object with additional information about the R function's version properties:

  • functionId: Returns the string ID of the function.
  • functionVersion: Returns the string ID of the function version.
  • memoryLimitInMB: Returns the amount of memory specified when creating the version, MB.
  • requestId: Returns the request ID.
  • tokenJson: Returns the parameters for authentication in the Yandex Cloud API.

To extract information from the invocation context, use the appropriate method.

Was the article helpful?

Previous
Request handler
Next
Logging
Yandex project
© 2025 Yandex.Cloud LLC