Category : 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 = ..

Read more

Hi have created dockerfile(multi-stage) for python and R. But the size was nearly 1.95GB. Initially it was 2.45GB, after using multi-stage it is reduces to 1.95GB. But still I’m looking for optimization. Dockerfile: FROM tiangolo/uvicorn-gunicorn-fastapi:python3.8-slim-2021-06-09 As stage1 COPY key_gnupg.gpg /app/key_gnupg.gpg RUN echo "Acquire::Check-Valid-Until "false";nAcquire::Check-Date "false";" | cat > /etc/apt/apt.conf.d/10no–check-valid-until RUN apt-get update && apt-get install ..

Read more