Why not use an exponential based resistor ladder instead of linear so that one can get very precise and a large range of resistance from a single digital resistor?
Instead of n*R/(n-k) for the resistance at the kth "step" we have R*2^k.
so the ladder would be
R, 2R, 4R, 8R, 16R, etc..
Then add some logic so that when switching resistance values it occurs smoothly.
This seems much more useful and cost effective than just using a linear set of resistors.