Constrained dual scaling algorithms in R