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

I am currently trying to host my RShiny app and am running into a problem: "Warning: Error in magick_image_readpath: R: unable to open image ’02-Backrounds/1F602.png’ No such file or directory @ error/blob.c/OpenBlob/2924" The Magick page tells me that it can’t find the specified directory – spelled correctly, of course. I have of course tried various ..

Read more