Chop the cranberries in a blender a little at a time. Mix with the drained pineapple and add sugar. Rinse the marshmallows under cold water and drain in colander. Stir the sour cream into cranberry mixture. Add the walnuts. Stir in the rinsed marshmallows. Chill for 30 minutes and serve. Excellent with turkey or chicken!!!