Since dc
has not yet been submitted to CRAN, the only way to install it is
from source. Luckily, that is easy, since it does not require a C compiler or
other complex tools. Just do as follows:
library(devtools)
install_github("dankelley/dc", ref="master")