include extra line in weights file - R compatibility