That's right, cut does not work with cv.glm. You need to manually separate the data in k parts and use double loop to compute cross-validation