Skip to content
R package with tools for distance metrics
C++ R C Other
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
inst/include
man Update docs Dec 11, 2018
src
tests
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
LICENSE
NAMESPACE Fix errors Jul 20, 2018
NEWS.md Bump version Sep 18, 2019
README.md
appveyor.yml
codecov.yml Change name of codecov config Mar 4, 2017
cran-comments.md
distances.Rproj
release-checklist.md

README.md

distances

CRAN Status Build Status Build status codecov

The distances package provides tools for constructing, manipulating and using distance metrics in R. It calculates distances only as needed (unlike the standard dist function which derives the complete distance matrix when called). This saves memory and can increase speed. The package also includes functions for fast nearest and farthest neighbor searching.

How to install

distances is on CRAN and can be installed by running:

install.packages("distances")

How to install development version

It is recommended to use the stable CRAN version, but the latest development version can be installed directly from Github using devtools:

if (!require("devtools")) install.packages("devtools")
devtools::install_github("fsavje/distances")

The package contains compiled code, and you must have a development environment to install the development version. (Use devtools::has_devel() to check whether you do.) If no development environment exists, Windows users download and install Rtools and macOS users download and install Xcode.

You can’t perform that action at this time.