Assuming that the above environment specification is stored in the file env.yaml, an environment my-env containing the specified requirements and all of their dependencies, including R itself, can be created via the command: