The OSRM server returned an error: Error in doTryCatch(return(expr), name, parentenv, handler): object ‘res’ not found

  docker, osrm, r

I run my own OSRM server and use OSRM R package.

OSRM server run

but when I want to get osrmTable I get this error:

The OSRM server returned an error:
Error in doTryCatch(return(expr), name, parentenv, handler): object 'res' not found

and my code is this:

get_OSRMTable = osrmTable(route,osrm.server = "http://0.0.0.0:5000/",osrm.profile = ("car"), measure = c("distance","duration"))

Source: Docker Questions

LEAVE A COMMENT