title: How to get more than 1000 distance matrix with "osrm" package
body: <p>I am trying to calculate more distances In R using the package "osrm". I don't know what I am doing wrong because I followed all the steps of the package. When I try to use the argument <code>max-table-size</code>, it returns an error.</p>
  
  <p>I already tried to put the argument <code>max-table-size</code> into the code, but that doesn't work. </p>
  
  <p>I tried to do this:</p>
  
  <pre><code>distancias &lt;- osrmTable(loc = dist[1:100, c("id","lon","lat")]"max-table-size")
  </code></pre>
  
  <p>when I try this, I have this error: </p>
  
  <blockquote>
    <p>The OSRM server returned an error: Error in names(src) &lt;- c("id",
    "lon", "lat"): 'names' attribute [3] must be the same length as the
    vector [1]</p>
  </blockquote>
  
  <pre><code>library(osrm)
  
  dist &lt;- read.table ("C:\\Users\\hammer\\Documents\\Erick\\22-05-19\\Distancias\\mg.txt", header=TRUE, sep="\t")
  
  
  distancias &lt;- osrmTable(loc = dist[1:100, c("id","lon","lat")])
  
  
  write.table(distancias, file = "dist.txt", sep="\t")
  </code></pre>
  
  <p>I hope get one distance matrix of 3.600 x 3.600</p>