Closed berndbischl closed 6 years ago
package.path = system.file(package = "reinforcelearn") path2pythonfile = paste0(package.path, "/gym_http_server.py") system2("python", args = path2pythonfile, stdout = NULL, wait = FALSE, invisible = FALSE) env = makeEnvironment("MountainCar-v0")
the first lines should likely be executed internally by our r package
Using reticulate this is not necessary anymore.
reticulate
env = makeEnvironment("gym", "MountainCar-v0")
the first lines should likely be executed internally by our r package