env_monitor_close {gym}R Documentation

Flush all monitor data to disk.

Description

Flush all monitor data to disk.

Usage

env_monitor_close(x, instance_id)

Arguments

x

An instance of class "GymClient"; this object has "remote_base" as an attribute.

instance_id

A short identifier (such as "3c657dbc") for the environment instance.

Value

NULL.

Examples

## Not run: 
remote_base <- "http://127.0.0.1:5000"
client <- create_GymClient(remote_base)
env_id <- "CartPole-v0"
instance_id <- env_create(client, env_id)
env_monitor_close(client, instance_id)

## End(Not run)

[Package gym version 0.1.0 Index]