r.digit was NOT part of the grass4.0 release. It has to be obtained from
moon.cecer.army.mil. This means picking up 3 items:
r.digit (interfaces with the user)
r.in.poly (called by r.digit to produce the raster file)
libes/gis/plot (contains a post 4.0 routine used by r.in.poly)
Michael