Scapetoad produces area cartograms, not distance cartograms. You can produce distance cartograms with Darcy http://www.spatial-modelling.info/Darcy-2-module-de-comparaison The page is in french. You can download the software in english (Java program) : http://www.spatial-modelling.info/IMG/jar/Darcy-2.0.jarhttps://sourceforge.net/projects/jdarcy/
Before using Darcy you have to transform the distance matrix in coordinates (multi dimensional scaling). In R the simple function for MDS is cmdscale. Now, Darcy implements this R function.