Installing osrm package

Hi everybody,

I am trying to install the osrm package and I got this error:

> install.packages("osrm")
also installing the dependencies ‘isoband’, ‘gepaf’

trying URL ''
Content type 'application/zip' length 2899871 bytes (2.8 MB)
downloaded 2.0 MB

Warning in install.packages :
  downloaded length 2048000 != reported length 2899871
trying URL ''
Content type 'application/zip' length 17611 bytes (17 KB)
downloaded 17 KB

trying URL ''
Content type 'application/zip' length 78516 bytes (76 KB)
downloaded 76 KB

Warning in install.packages :
  error 1 in extracting from zip file
Warning in install.packages :
  cannot open compressed file 'isoband/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection

Can somebody help me with this error :-)?

Kind regards,


This is happening because the file is not been downloaded completely, maybe do to instability in your internet connection, you could simply try again several times until the download works, or manually download the file and install from a local file instead.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.