Learn R Programming

gym (version 0.1.0)

create_GymClient: Create a GymClient instance.

Description

This function instantiates a GymClient instance to integrate with an OpenAI Gym server.

Usage

create_GymClient(remote_base)

Arguments

remote_base
The URL of the OpenAI gym server. This value is usually "http://127.0.0.1:5000".

Value

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

Examples

Run this code
## Not run: 
# remote_base <- "http://127.0.0.1:5000"
# client <- create_GymClient(remote_base)
# ## End(Not run)

Run the code above in your browser using DataLab