Stir sugar and cream together until dissolved. Bring to a boiling point and cook to 232 degrees F., or to the soft ball stage when tested in water. Remove from the heat and let cool. Add vanilla, butter (or margarine) and nuts. Beat until creamy. Drop with a spoon on to wax paper.