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
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
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

In this article:

  • Examples
  • Working with HTTP request arguments
  1. Developing in R
  2. Programming model

R programming model

Written by
Yandex Cloud
Updated at February 28, 2024
  • Examples
    • Working with HTTP request arguments

Setting a function handler means writing an R function with the following parameters:

  • event: Request
  • context: Call context information

ExamplesExamples

Working with HTTP request argumentsWorking with HTTP request arguments

The following function outputs the value of the arg request parameter:

handler <- function(event, context) {
  return (list(statusCode = 200, body = event$queryStringParameters$arg))
}

Was the article helpful?

Previous
Overview
Next
Managing dependencies
© 2025 Direct Cursus Technology L.L.C.