R: hist does not have 'intensities' now, use 'density'. Fixes LP bug #1164523.