Developing in R. Overview
With Cloud Functions, you can run applications written in R
This service provides several runtimes with different versions. We do not recommend using runtime versions that are no longer supported.
| Name | Version of R | Operating system |
Preloaded | Supported by Cloud Functions |
|---|---|---|---|---|
| r42 | 4.2.2 | Ubuntu 18.04 | No | No |
| r43 | 4.3.1 | Ubuntu 22.04 LTS | No | Yes |
When creating a new function version, the builder may automatically install dependencies required for the function. For more information about the requirements and restrictions, see Building and managing R function dependencies.
The runtime automatically loads your code and invokes the request handler you specified. It receives the incoming request and the invocation context as arguments. The context contains additional information about the function parameters.
Cloud Functions automatically captures the application's standard output streams and sends them to the centralized logging system in Yandex Cloud. This system also logs entries about the start and end of each function execution, as well as any errors that occur during execution. For more information about the log format, see R function execution logging.
If you want to learn more programming in R or how certain constructs work, we recommend taking a basic course on Stepik