Install the latest development version from Github with
devtools::install_github('btskinner/OSRcppM')
NB: Must have working install of OSRM backend on machine.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.