GitHub (via GRAN)

Repository: https://github.com/renozao/NMF

The package can be installed from source from the GitHub using the repotools package as follows:

# Install repotools (need to be done only once)
source('http://renozao.github.io/repotools/install.R')

library(repotools)
# latest development version
install.pkgs('NMF')

# DEVELOPMENT
install.pkgs('NMF', dependencies = '++')

Troubleshooting

The above commands will perform a complete build/installation, which may require a complete R development environment. This should be fine for standard unix-based R installations (Linux, Mac), but is not installed by default on Windows machines.

So if this fails, then try doing a quick install by limiting the installation procedure to the strict necessary with argument quick = TRUE.

library(repotools)
# latest development version
install.pkgs('NMF', quick = TRUE)

# DEVELOPMENT
install.pkgs('NMF', dependencies = '++', quick = TRUE)

R-forge

Project: http://r-forge.r-project.org/projects/nmf

The latest automated build of the package can be installed from R-forge repository as follows:

install.packages("NMF", repos="http://R-Forge.R-project.org")

Troubleshooting

This installation method depends on the package's build status on R-forge, which can be checked on the project page > 'R packages' or from R:

'NMF' %in% rownames(available.packages(contrib.url("http://R-Forge.R-project.org")))